示例#1
0
文件: boot.php 项目: philum/cms
function reboot()
{
    require 'params/_connectx.php';
    req('art,spe,pop');
    master_params('params/_' . $db, $qd, $aqb, $subd);
    $_SESSION['dayx'] = time();
    define_hubs();
    define_qb();
    define_config();
    eye_iq();
    log_mods();
    define_auth();
    //if($_SESSION['rstr'][22])block_crawls();
    time_system('ok');
    cache_arts();
    define_cats_rqt();
    define_condition();
    define_clr();
}
示例#2
0
文件: sys.php 项目: philum/cms
    $_GET['read'] = $_SESSION['read'];
}
$cache = deductions_from_read($_GET['read'], $cache);
//art
$read = $_GET['read'];
if (!$_SESSION['qbin'] or $cache) {
    define_config();
}
//qb_in
if ($_SESSION['rstr'][22]) {
    block_crawls();
}
//crawl
//if(isset($_GET['switch_design']))$_SESSION['switch']=$_GET['switch_design'];
if (!$_SESSION['iq']) {
    eye_iq();
}
//eye
log_mods();
define_auth();
//login
#environment
$cache = time_system($cache);
//time_system
define_s('lang', 'all');
//cache_system
if (!isset($_SESSION['rqt']) or $cache) {
    cache_arts();
}
if (!is_array($_SESSION['line']) or $cache) {
    define_cats_rqt();