mirror of https://gitee.com/karson/fastadmin.git
commit
9df6949c55
|
|
@ -16,7 +16,7 @@
|
||||||
define('APP_PATH', __DIR__ . '/../application/');
|
define('APP_PATH', __DIR__ . '/../application/');
|
||||||
|
|
||||||
// 判断是否安装FastAdmin
|
// 判断是否安装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");
|
header("location:./install.php");
|
||||||
exit;
|
exit;
|
||||||
|
|
@ -32,4 +32,4 @@ require __DIR__ . '/../thinkphp/base.php';
|
||||||
\think\Url::root('');
|
\think\Url::root('');
|
||||||
|
|
||||||
// 执行应用
|
// 执行应用
|
||||||
\think\App::run()->send();
|
\think\App::run()->send();
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
define('APP_PATH', __DIR__ . '/../application/');
|
define('APP_PATH', __DIR__ . '/../application/');
|
||||||
|
|
||||||
// 判断是否安装FastAdmin
|
// 判断是否安装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");
|
header("location:./install.php");
|
||||||
exit;
|
exit;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue