$this->initMagicQuotes();
$this->initDB();
$this->loadOptions();
- $this->initCache();
$this->initSession();
$this->initLanguage();
$this->initTPL();
self::$dbObj = new $dbClass($dbHost, $dbUser, $dbPassword, $dbName, $dbPort);
}
- /**
- * Initialises the cache handler and loads the default cache resources.
- */
- protected function initCache() {
- $this->loadDefaultCacheResources();
- }
-
- /**
- * Loads the default cache resources.
- */
- protected function loadDefaultCacheResources() {
- // TODO: Is this required anymore?
- }
-
/**
* Loads the options file, automatically created if not exists.
*/
$this->initDB();
$this->loadOptions();
$this->initPackage();
- $this->initCache();
$this->initSession();
$this->initLanguage();
$this->initTPL();
));
}
- /**
- * @see WCF::loadDefaultCacheResources()
- */
- protected function loadDefaultCacheResources() {
- parent::loadDefaultCacheResources();
-
- // TODO: Is this required anymore?
- }
-
/**
* Initializes the active package.
*/
<?php
namespace wcf\system\package;
-use wcf\system\cache\builder\TemplateListenerCodeCacheBuilder;
-
-use wcf\system\cache\builder\TemplateListenerCacheBuilder;
-
use wcf\data\application\Application;
use wcf\data\application\ApplicationEditor;
use wcf\data\language\category\LanguageCategory;
use wcf\data\package\Package;
use wcf\data\package\PackageEditor;
use wcf\system\application\ApplicationHandler;
+use wcf\system\cache\builder\TemplateListenerCacheBuilder;
+use wcf\system\cache\builder\TemplateListenerCodeCacheBuilder;
use wcf\system\cache\CacheHandler;
use wcf\system\database\statement\PreparedStatement;
use wcf\system\database\util\PreparedStatementConditionBuilder;
<?php
namespace wcf\system\package\plugin;
-use wcf\system\cache\builder\TemplateListenerCodeCacheBuilder;
-
use wcf\system\cache\builder\TemplateListenerCacheBuilder;
+use wcf\system\cache\builder\TemplateListenerCodeCacheBuilder;
use wcf\system\cache\CacheHandler;
use wcf\system\WCF;