|
|
|
@ -12,7 +12,7 @@ $c = strip_tags($c);
@@ -12,7 +12,7 @@ $c = strip_tags($c);
|
|
|
|
|
//$version = @file_get_contents("./functions/version.txt"); |
|
|
|
|
//载入配置文件 |
|
|
|
|
if( !file_exists('./data/config.php') ) { |
|
|
|
|
exit('<h3>配置文件不存在,请将config.simple.php复制一份并命名为config.php</h3>'); |
|
|
|
|
exit('<h3>配置文件不存在,请将站点目录下的config.simple.php复制为data/config.php</h3>'); |
|
|
|
|
} |
|
|
|
|
//检查数据库是否存在,不存在则复制数据库 |
|
|
|
|
if( !file_exists('./data/onenav.db3') ) { |
|
|
|
|