切换导航条
此项目
正在载入...
登录
何书鹏
/
recruit
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
差异文件
浏览文件
作者
F4NNIU
7 years ago
提交者
Karson
7 years ago
提交
9df6949c55753c80204a8e784044d603cdfdfae2
2 个父辈
50e91c53
f8412b82
!28 将文件检查函数改为 is_file
Merge pull request !28 from F4NNIU/chk_install_lock
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
public/admin.php
public/index.php
public/admin.php
查看文件 @
9df6949
...
...
@@ -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
;
...
...
@@ -32,4 +32,4 @@ require __DIR__ . '/../thinkphp/base.php';
\think\Url
::
root
(
''
);
// 执行应用
\think\App
::
run
()
->
send
();
\ No newline at end of file
\think\App
::
run
()
->
send
();
...
...
public/index.php
查看文件 @
9df6949
...
...
@@ -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
;
...
...
请
注册
或
登录
后发表评论