点此安装'; exit(); } $DB = new \lib\PdoHelper($dbconfig); if($DB->query("select * from pre_config where 1")==FALSE)//检测安装2 { header('Content-type:text/html;charset=utf-8'); echo '你还没安装!点此安装'; exit(); } $CACHE=new \lib\Cache(); $conf=$CACHE->pre_fetch(); define('SYS_KEY', $conf['syskey']); if(!$conf['localurl'])$conf['localurl'] = $siteurl; $password_hash='!@#%!s!0'; if ($conf['version'] < DB_VERSION) { if (!$install) { header('Content-type:text/html;charset=utf-8'); echo '请先完成网站升级!点此升级'; exit; } } include_once(SYSTEM_ROOT."functions.php"); include_once(SYSTEM_ROOT."member.php"); require_once SYSTEM_ROOT."vendor/autoload.php"; if (!file_exists(ROOT.'install/install.lock') && file_exists(ROOT.'install/index.php')) { sysmsg('