=') && version_compare(phpversion(), '8.0.0', '<'))) {
exit('
您的PHP版本过低或过高,请将PHP版本修改为PHP7.1及以上(不支持PHP8)
');
}
require ROOT . 'config.php';
if (!defined('SQLITE') && (!$dbconfig['user'] || !$dbconfig['pwd'] || !$dbconfig['dbname'])) {
@unlink(ROOT . 'install/install.lock');
header("Location:");
exit();
}
require SYSTEM_ROOT . "db.class.php";
$DB = new DB($dbconfig['host'], $dbconfig['user'], $dbconfig['pwd'], $dbconfig['dbname'], $dbconfig['port']);
require SYSTEM_ROOT . "site.php";
$web_config = $DB->query("SELECT * FROM `lylme_config`");
if (empty($web_config)) {
//数据表不存在
exit("LyLme Spage Error: MySQL config table is empty(code:404)");
}
while ($row = $DB->fetch($web_config)) {
//网站配置
$conf[$row['k']] = $row['v'];
}
require SYSTEM_ROOT . "include.php";
require SYSTEM_ROOT . "function.php";
require SYSTEM_ROOT . "lists.php";
require SYSTEM_ROOT . "member.php";
require SYSTEM_ROOT . "tj.php";
require SYSTEM_ROOT . "version.php";
require SYSTEM_ROOT . "updbase.php";
require SYSTEM_ROOT . 'lib/Form.php';