Changeset 1179

Show
Ignore:
Timestamp:
02/09/10 12:53:22 (2 years ago)
Author:
Hugo
Message:

ispClient: minor updates

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/unxsISP/interfaces/customer/registration.c

    r1177 r1179  
    348348        GetConfiguration("cFromEmailAddr",cFrom); 
    349349         
    350         //if((fp=popen("/usr/lib/sendmail -t > /dev/null","w"))) 
     350        if((fp=popen("/usr/lib/sendmail -t > /dev/null","w"))) 
    351351        //debug only 
    352         if((fp=fopen("/tmp/eMailInvoice","w"))) 
     352        //if((fp=fopen("/tmp/eMailInvoice","w"))) 
    353353        { 
    354354                fprintf(fp,"To: %s\n",cEmail); 
     
    440440        EmailRegistration("RegistrationMail1"); 
    441441         
     442        sprintf(gcQuery,"DELETE FROM tTempClient WHERE cHash='%s'",TextAreaSave(cId)); 
     443        mysql_query(&gMysql,gcQuery); 
     444        if(mysql_errno(&gMysql)) 
     445                htmlPlainTextError(mysql_error(&gMysql)); 
     446 
    442447        htmlHeader("unxsISP Customer Interface","Header"); 
    443448        htmlRegistrationPage("","RegistrationCompleted.Body");