public function __construct() { parent::__construct(); $this->lockFile = ROOT_PATH . 'data/install.lock'; if (file_exists($this->lockFile)) { $this->redirect('../'); } }
public function __construct() { parent::__construct(); define('__PLUGINDIR__', __ROOTDIR__ . '/plugins/' . $_GET['_module']); define('__PLUGINTPL__', __ROOT__ . '/plugins/' . $_GET['_module'] . '/template'); }
public function __construct() { parent::__construct(); }