navigation  interaction  search

 other resources

Changeset 401

Show
Ignore:
Timestamp:
05/16/08 12:40:42
Author:
nate
Message:

Cleaned up code and fixed a spelling error.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/phpbms/include/session.php

    r388 r401  
    377377                        $queryresult=@ $this->db->query($querystatement); 
    378378                        if(!$queryresult) { 
    379                                 $error = new appError(-730,"","Error Updaingt User Login Time",true,true,true,"json"); 
     379                                $error = new appError(-730,"","Error Updating User Login Time",true,true,true,"json"); 
    380380                        } else 
    381381                                $thereturn=true; 
     
    434434        if(strpos($scriptname,"api_")!==false){ 
    435435                if(isset($_POST["phpbmsusername"]) && isset($_POST["phpbmspassword"])){ 
    436                         $phpbmsSession->loadDBSettings(); 
     436                        $phpbmsSession->loadDBSettings(APP_DEBUG); 
    437437                         
    438438                        include_once("include/db.php"); 
     
    445445         
    446446         
    447                         if(!$phpbmsSession->verifyAPILogin($_POST["phpbmsusername"],$_POST["phpbmspassword"],ENCRYPTION_SEED)) 
     447                        if(!$phpbmsSession->verifyAPILogin($_POST["phpbmsusername"],$_POST["phpbmspassword"])) 
    448448                                $error = new appError(-700,"","Login credentials incorrect",true,true,true,"json"); 
    449449                } else 
     
    451451        } else { 
    452452         
    453                 $phpbmsSession->loadDBSettings($sqlEncoding); 
     453                $phpbmsSession->loadDBSettings(APP_DEBUG); 
    454454         
    455455         
Copyright © 2006-2007 Kreotek, LLC. All Rights reserved.