本文整理匯總了PHP中Updater::init方法的典型用法代碼示例。如果您正苦於以下問題:PHP Updater::init方法的具體用法?PHP Updater::init怎麽用?PHP Updater::init使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Updater
的用法示例。
在下文中一共展示了Updater::init方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: init
function init()
{
global $_version;
require_once CONF_PATH . 'autofill.inc.php';
$this->init_header();
Updater::init();
$this->init_final();
}
示例2: init
function init()
{
global $_config;
if (!$_config) {
require_once SYSTEM_ROOT . './config.inc.php';
}
$this->init_header();
$this->init_useragent();
CACHE::pre_fetch('setting', 'plugin', 'plugins');
Updater::init();
$this->init_syskey();
$this->init_cookie();
cloud::init();
HOOK::INIT();
$this->init_final();
}
示例3: Cookies
global $_DLIST;
require_once 'doc-admin/remember.php';
global $_REMEMBER;
$cookies = new Cookies();
$encodeExplorer = new EncodeExplorer();
$encodeExplorer->init();
require_once 'doc-admin/translations/' . $encodeExplorer->lang . '.php';
global $_TRANSLATIONS;
$gateKeeper = new GateKeeper();
$gateKeeper->init();
$setUp = new SetUp();
$location = new Location();
$location->init();
$downloader = new Downloader();
$updater = new Updater();
$updater->init();
$template = new Template();
$timeconfig = $setUp->getConfig('default_timezone');
$timezone = strlen($timeconfig) > 0 ? $timeconfig : "UTC";
date_default_timezone_set($timezone);
require_once 'doc-admin/token.php';
global $_TOKENS;
$resetter = new Resetter();
$resetter->init();
if ($gateKeeper->isAccessAllowed()) {
$fileManager = new FileManager();
$fileManager->run($location);
$encodeExplorer->run($location);
}
unset($_SESSION['upcoda']);
$_SESSION['upcoda'] = array();