Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
PESCMS Ticket
Commits
e48dc576
Commit
e48dc576
authored
5 years ago
by
luoboss
Browse files
Options
Download
Email Patches
Plain Diff
安装入口文件添加PHP版本判断提示。
parent
e9c51c12
master
dev
dev-1.2.16
dev-1.2.17
dev-1.2.18
dev-1.2.20
dev-1.2.21
dev-1.2.23
dev-1.3.0
dev-1.3.10
dev-1.3.11
dev-1.3.12
dev-1.3.13
dev-1.3.15
dev-1.3.16
dev-1.3.18
dev-1.3.19
dev-1.3.2
dev-1.3.3
dev-1.3.4
dev-1.3.6
dev-1.3.8
dev-1.3.9
dev-experiment
1.3.18
1.3.16
1.3.15
1.3.13
1.3.12
1.3.11
1.3.10
1.3.9
1.3.8
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.23
1.2.21
1.2.20
1.2.18
1.2.17
1.2.16
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Public/Install/index.php
+8
-0
Public/Install/index.php
with
8 additions
and
0 deletions
+8
-0
Public/Install/index.php
+
8
-
0
View file @
e48dc576
...
...
@@ -7,6 +7,14 @@
* @license http://www.pescms.com/license
* @version 1.0
*/
$phpVersion
=
explode
(
'.'
,
phpversion
());
$version
=
"
{
$phpVersion
[
'0'
]
}
.
{
$phpVersion
[
'1'
]
}
"
;
if
(
$version
<
5.6
){
echo
'<h1>PESCMS系列程序需要PHP5.6 或以上版本支持!</h1>'
;
exit
;
}
define
(
'ITEM'
,
'App'
);
//当前项目控制器所在目录
defined
(
'APP_PATH'
)
or
define
(
'APP_PATH'
,
dirname
(
__FILE__
)
.
'/'
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help