phpBMS

Show
Ignore:
Timestamp:
01/18/10 13:08:08 (2 years ago)
Author:
brieb
Message:
  • Turned off all warnings and errors when not in debug mode. This is for security purposes so that the absolute path is not exposed.
  • fixed AR run aging to properly print checked print outs
  • Added code to grab the deafult time zone and set it. This will help stem problems from E_STRICT reporting and also should speed up some date/time functions.
  • Fixed line item to sales order relationships for new installs
Files:
1 modified

Legend:

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

    r745 r767  
    3838*/ 
    3939 
    40 // Turn on/or off debugging 
     40/** 
     41 * Turn on/or off debugging 
     42 */ 
    4143@ define("APP_DEBUG", true); 
    4244if(APP_DEBUG) 
    43         error_reporting(E_ALL); 
    44  
     45    error_reporting(E_ALL); 
     46else 
     47    error_reporting(0); 
     48 
     49/** 
     50 * Until we instatiate time zone in the program 
     51 * This lines suppress warnings when error reporting is strict 
     52 */ 
     53@ date_default_timezone_set(date_default_timezone_get()); 
    4554 
    4655// Error Class - This class reports errors.  It can also log these errors 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.