Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
starsw001
ShopXO
提交
68a2360e
ShopXO
项目概览
starsw001
/
ShopXO
与 Fork 源项目一致
Fork自
纵之格 / ShopXO
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
68a2360e
编写于
12月 28, 2018
作者:
D
devil_gong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
安装向导
上级
aa1491d2
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
18 addition
and
15 deletion
+18
-15
application/install/view/public/footer_nav.html
application/install/view/public/footer_nav.html
+1
-1
application/install/view/public/header_nav.html
application/install/view/public/header_nav.html
+1
-1
public/core.php
public/core.php
+10
-10
public/static/install/css/index.css
public/static/install/css/index.css
+6
-3
未找到文件。
application/install/view/public/footer_nav.html
浏览文件 @
68a2360e
...
...
@@ -8,7 +8,7 @@
</div>
<div
class=
"am-footer-miscs"
>
<p>
由
<a
href=
"http://shopxo.net/"
title=
"ShopXO"
target=
"_blank"
class=
""
>
ShopXO
</a>
提供技术支持
</p>
<p>
CopyRight©{{:date('Y')}} ShopXO Inc.
</p>
<p>
CopyRight©{{:date('Y')}} ShopXO
{{$Think.APPLICATION_VERSION}}
Inc.
</p>
<p>
黔ICP备15003530号-5
</p>
</div>
</footer>
\ No newline at end of file
application/install/view/public/header_nav.html
浏览文件 @
68a2360e
<div
class=
"header-nav"
>
<div
class=
"inside"
>
<p
class=
"logo-name"
>
ShopXO
<span>
安装向导
</span></p>
<p
class=
"logo-name"
>
ShopXO
<span>
安装向导
{{$Think.APPLICATION_VERSION}}
</span></p>
<ul
class=
"schedule {{if isset($action) && $action == 'index'}}active{{/if}}"
>
<li
class=
"number"
>
1
</li>
<li
class=
"word"
>
使用协议
</li>
...
...
public/core.php
浏览文件 @
68a2360e
...
...
@@ -36,13 +36,6 @@ define('__MY_PUBLIC_URL__', empty($_SERVER['HTTP_HOST']) ? '' : __MY_HTTP__.':/
$request_url
=
isset
(
$_SERVER
[
'REQUEST_URI'
])
?
$_SERVER
[
'REQUEST_URI'
]
:
''
;
define
(
'__MY_VIEW_URL__'
,
substr
(
__MY_URL__
,
0
,
-
1
)
.
$request_url
);
// 检测是否是新安装
// if(is_dir("./install") && !file_exists("./install/install.lock"))
// {
// $url = __MY_URL__.'install/index.php';
// exit(header('location:'.$url));
// }
// 系统版本
define
(
'APPLICATION_VERSION'
,
'v1.2.0'
);
...
...
@@ -52,9 +45,6 @@ define('APP_DEBUG', true);
// 应用Trace 建议开发阶段开启 部署阶段注释或者设为false
define
(
'APP_TRACE'
,
true
);
// 分之模式,master,develop,test,debug
define
(
'APP_STATUS'
,
'develop'
);
// 定义系统目录分隔符
define
(
'DS'
,
'/'
);
...
...
@@ -79,4 +69,14 @@ define('APPLICATION_CLIENT_TYPE', empty($_REQUEST['application_client_type']) ?
// 是否ajax
define
(
'IS_AJAX'
,
((
isset
(
$_SERVER
[
'HTTP_X_REQUESTED_WITH'
])
&&
'xmlhttprequest'
==
strtolower
(
$_SERVER
[
'HTTP_X_REQUESTED_WITH'
]))
||
isset
(
$_REQUEST
[
'ajax'
])
&&
$_REQUEST
[
'ajax'
]
==
'ajax'
));
// 检测是否是新安装
if
(
is_dir
(
ROOT
.
'public/install'
)
&&
!
file_exists
(
ROOT
.
'public/install/install.lock'
))
{
if
(
empty
(
$_GET
[
's'
])
||
stripos
(
$_GET
[
's'
],
'install'
)
===
false
)
{
$url
=
__MY_URL__
.
'index.php?s=/install/index/index'
;
exit
(
header
(
'location:'
.
$url
));
}
}
?>
\ No newline at end of file
public/static/install/css/index.css
浏览文件 @
68a2360e
...
...
@@ -15,6 +15,9 @@ li {
h2
{
margin
:
0
0
5px
0
;
}
p
{
margin
:
0
;
}
.inside
{
margin
:
0
auto
;
padding
:
10px
;
...
...
@@ -50,11 +53,11 @@ h2 {
padding
:
0
;
}
.header-nav
.inside
.logo-name
{
width
:
1
6
0px
;
width
:
1
8
0px
;
height
:
40px
;
line-height
:
40px
;
font-size
:
20px
;
float
:
left
;
margin-top
:
7px
;
}
.header-nav
.inside
.logo-name
span
{
font-size
:
12px
;
...
...
@@ -62,7 +65,7 @@ h2 {
}
.header-nav
.inside
.schedule
{
margin-left
:
5px
;
width
:
17%
;
width
:
calc
(
25%
-
50px
)
;
height
:
30px
;
float
:
left
;
margin-top
:
8px
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录