1、安装文件更新

2、内核更新
This commit is contained in:
2016-07-31 14:17:51 +08:00
parent 9da53fc969
commit 762b280d21
30 changed files with 1082 additions and 181 deletions

View File

@@ -18,6 +18,9 @@ class Base extends \think\Controller{
protected $action;
public function _initialize(){
if (!is_file(APP_PATH . 'database.php') || !is_file(APP_PATH . 'install.lock')) {
return $this->redirect('install/index/index');
}
/* 读取数据库中的配置 */
$config = cache('db_config_data');
if(!$config){