/** * Initiate Class **/ function __construct($pExtras = TRUE) { parent::__construct(); // if mPluginPath hasn't been set, we set it for liberty plugins if (empty($this->mPluginPath)) { $this->mPluginPath = LIBERTY_PKG_PATH . 'plugins/'; } // extras - only needed by liberty if ($pExtras) { $this->mDataTags = array(); $this->loadContentTypes(); } }
/** * Initiate class * * @return void */ function __construct() { parent::__construct(); // start up caching engine $this->mThemeCache = new BitCache('themes', TRUE); }
/** * Initiate Class **/ function __construct($pExtras = TRUE) { parent::__construct(); $this->mPluginPath = LIBERTY_PKG_PATH . 'plugins/'; $this->loadContentTypes(); }
function __construct() { global $gBitTimer; // Call DB constructor which will create the database member variable parent::__construct(); $this->mAppMenu = array(); $this->mTimer = $gBitTimer; $this->mServerTimestamp = new BitDate(); $this->loadConfig(); // Critical Preflight Checks $this->checkEnvironment(); $this->mRegisterCalled = FALSE; // Set the separator for PHP generated tags to be & instead of & // This is necessary for XHTML compliance ini_set("arg_separator.output", "&"); // Remove automatic quotes added to POST/COOKIE by PHP if (get_magic_quotes_gpc()) { foreach ($_REQUEST as $k => $v) { if (!is_array($_REQUEST[$k])) { $_REQUEST[$k] = stripslashes($v); } } } $this->defineTempDir(); }
function __construct() { parent::__construct(); $this->loadConfig(); }