includes/common.php
changeset 270 a48b72312f6d
parent 269 4da2dfc28728
child 285 e72bf2c24875
equal deleted inserted replaced
269:4da2dfc28728 270:a48b72312f6d
    58 // Determine starting time
    58 // Determine starting time
    59 global $_starttime;
    59 global $_starttime;
    60 $_starttime = microtime_float();
    60 $_starttime = microtime_float();
    61 
    61 
    62 // Verbose error reporting
    62 // Verbose error reporting
    63 error_reporting(E_ALL & ~E_STRICT);
    63 if ( defined('E_STRICT') )
       
    64 {
       
    65   // PHP5, PHP6
       
    66   error_reporting(E_ALL & ~E_STRICT);
       
    67 }
       
    68 else
       
    69 {
       
    70   // PHP4
       
    71   error_reporting(E_ALL);
       
    72 }
    64 
    73 
    65 //
    74 //
    66 // Determine the location of Enano as an absolute path.
    75 // Determine the location of Enano as an absolute path.
    67 //
    76 //
    68 
    77