系统安全提示!
This commit is contained in:
@@ -21,6 +21,12 @@ class Index extends Base {
|
||||
* @return html [description]
|
||||
*/
|
||||
public function index() {
|
||||
//判断安装文件是否删除
|
||||
$this->data['install_file'] = false;
|
||||
$file = $this->app->getRootPath() . 'public' . DIRECTORY_SEPARATOR . 'install.php';
|
||||
if (is_file($file)) {
|
||||
$this->data['install_file'] = true;
|
||||
}
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user