Beispiel #1
0
 public function __construct($app)
 {
     kernel::set_online(false);
     if (kernel::single('base_setup_lock')->lockfile_exists()) {
         if (!kernel::single('base_setup_lock')->check_lock_code()) {
             $this->lock();
         }
     }
     parent::__construct($app);
     config::set('log.default', 'file');
 }
Beispiel #2
0
 public function __construct($app)
 {
     kernel::set_online(false);
     if (kernel::single('base_setup_lock')->lockfile_exists()) {
         if (!kernel::single('base_setup_lock')->check_lock_code()) {
             $this->lock();
         }
     }
     parent::__construct($app);
     define(LOG_TYPE, 3);
 }
Beispiel #3
0
 public function __construct($app)
 {
     kernel::set_online(false);
     if (file_exists($this->lockfile())) {
         if (isset($_COOKIE['_ecos_setup_lockcode'])) {
             $content = file_get_contents($this->lockfile());
             strlen($this->lockcode_prefix);
         } else {
             $this->lock();
         }
     }
     parent::__construct($app);
     define(LOG_TYPE, 3);
 }