Пример #1
0
 function __construct()
 {
     parent::__construct();
     $this->initMicroTime = Br()->getMicrotime();
     $this->initTime = @strftime('%H:%M:%S');
     if (br()->config()->has('br/log/enabled')) {
         if (!br()->config()->get('br/log/enabled')) {
             $this->disable();
         }
     }
 }
Пример #2
0
 function __construct()
 {
     if (isset($_SESSION)) {
     } else {
         session_cache_limiter('none');
         if (@session_start()) {
         } else {
             if (br()->isConsoleMode()) {
                 global $_SESSION;
                 $_SESSION = array();
             }
         }
     }
     $this->tag = md5(__FILE__);
     parent::__construct();
 }
Пример #3
0
 function __construct()
 {
     parent::__construct();
     br()->profiler()->logStart('APPLICATION');
     register_shutdown_function(array(&$this, "end"));
 }
Пример #4
0
 function __construct()
 {
     parent::__construct();
 }
Пример #5
0
 function __construct()
 {
     $this->frameWorkPath = str_replace('\\', '/', rtrim(__DIR__, '/') . '/');
     $this->processId = null;
     parent::__construct();
     register_shutdown_function(array(&$this, 'captureShutdown'));
 }