phpBMS

Changeset 625 for trunk/phpbms/include

Show
Ignore:
Timestamp:
07/17/09 14:39:45 (3 years ago)
Author:
nate
Message:
  • Bug fix related to the bms having no encryption path.
  • Update error messages now displayed on configuration.
  • Bad sql statement fixed in update.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/include/session.php

    r622 r625  
    477477                                        if($res !== false){ 
    478478                                                define("ENCRYPTION_KEY",trim(fread($res, filesize(ENCRYPTION_KEY_PATH)))); 
     479                                        }elseif(ENCRYPT_PAYMENT_FIELDS){ 
     480                                                new appError(-229, "encryption key path setting is not a valid path"); 
    479481                                        }else{ 
    480                                                 new appError(-229, "encryption key path setting is not a valid path"); 
    481                                         } 
     482                                                define("ENCRYPTION_KEY", ""); 
     483                                        }//end if 
     484                                }elseif(ENCRYPT_PAYMENT_FIELDS){ 
     485                                                new appError(-228, "encryption key path setting is not a valid path"); 
    482486                                }else{ 
    483                                         new appError(-228, "encryption key path setting is not a valid path"); 
     487                                        define("ENCRYPTION_KEY", ""); 
    484488                                }//end if 
    485489 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.