mirror of https://gitee.com/karson/fastadmin.git
commit
9df6949c55
|
|
@ -16,7 +16,7 @@
|
|||
define('APP_PATH', __DIR__ . '/../application/');
|
||||
|
||||
// 判断是否安装FastAdmin
|
||||
if (!file_exists(APP_PATH . 'admin/command/Install/install.lock'))
|
||||
if (!is_file(APP_PATH . 'admin/command/Install/install.lock'))
|
||||
{
|
||||
header("location:./install.php");
|
||||
exit;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
define('APP_PATH', __DIR__ . '/../application/');
|
||||
|
||||
// 判断是否安装FastAdmin
|
||||
if (!file_exists(APP_PATH . 'admin/command/Install/install.lock'))
|
||||
if (!is_file(APP_PATH . 'admin/command/Install/install.lock'))
|
||||
{
|
||||
header("location:./install.php");
|
||||
exit;
|
||||
|
|
|
|||
Loading…
Reference in New Issue