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'); }
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); }
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); }