Ejemplo n.º 1
0
 private static function initVars()
 {
     if (self::$minLevelCode !== null && self::$fatalErrorMail !== null) {
         return;
     }
     include "settings.php";
     self::$minLevelCode = self::levelCode($MinLogLevel);
     self::$fatalErrorMail = $FatalErrorMail;
     $catalog = trim($MyLogCatalog);
     self::$fatalLogFile = isset($MyLogDefaultFileName) ? $catalog . trim($MyLogDefaultFileName) : '';
     // todo генерировать. например 1 числа текущего месяца
     self::$timestampFile = isset($MyLogTimestampFileName) ? $catalog . trim($MyLogTimestampFileName) : '';
 }
Ejemplo n.º 2
0
 private static function initVars()
 {
     if (self::$minLevelCode !== null && self::$fatalErrorMail !== null) {
         return;
     }
     include "settings.php";
     self::$minLevelCode = self::levelCode($MinLogLevel);
     self::$fatalErrorMail = $FatalErrorMail;
 }