forked from caiweiming/DolphinPHP
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
67198e0
commit 67643d0
Showing
3 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,12 @@ | |
// | 作者: 蔡伟明 <[email protected]> | ||
// +---------------------------------------------------------------------- | ||
|
||
// [ PHP版本检查 ] | ||
header("Content-type: text/html; charset=utf-8"); | ||
if (version_compare(PHP_VERSION, '5.5', '<')) { | ||
die('PHP版本过低,最少需要PHP5.5,请升级PHP版本!'); | ||
} | ||
|
||
// [ 应用入口文件 ] | ||
|
||
// 定义应用目录 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,12 @@ | |
// | 作者: 蔡伟明 <[email protected]> | ||
// +---------------------------------------------------------------------- | ||
|
||
// [ PHP版本检查 ] | ||
header("Content-type: text/html; charset=utf-8"); | ||
if (version_compare(PHP_VERSION, '5.5', '<')) { | ||
die('PHP版本过低,最少需要PHP5.5,请升级PHP版本!'); | ||
} | ||
|
||
// [ 应用入口文件 ] | ||
|
||
// 定义应用目录 | ||
|