-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
1 changed file
with
26 additions
and
3 deletions.
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 |
---|---|---|
@@ -1,5 +1,26 @@ | ||
<?php/** // +------------------------------------------------------------------- // | SKPHP [ 为web梦想家创造的PHP框架。 ] // +------------------------------------------------------------------- // | Copyright (c) 2012-2016 http://sk-school.com All rights reserved. // +------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +------------------------------------------------------------------- // | Author: // | seven <[email protected]> // | learv <[email protected]> // | ppogg <[email protected]> // +------------------------------------------------------------------- // | Knowledge change destiny, share knowledge change you and me. // +------------------------------------------------------------------- // | To be successful // | must first learn To face the loneliness,who can understand. // +-----------------------------------------------------------------*/ | ||
// 应用入口文件 | ||
<?php | ||
/** | ||
// +------------------------------------------------------------------- | ||
// | SKPHP [ 为web梦想家创造的PHP框架。 ] | ||
// +------------------------------------------------------------------- | ||
// | Copyright (c) 2012-2016 http://sk-school.com All rights reserved. | ||
// +------------------------------------------------------------------- | ||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) | ||
// +------------------------------------------------------------------- | ||
// | Author: | ||
// | seven <[email protected]> | ||
// | learv <[email protected]> | ||
// | ppogg <[email protected]> | ||
// +------------------------------------------------------------------- | ||
// | Knowledge change destiny, share knowledge change you and me. | ||
// +------------------------------------------------------------------- | ||
// | To be successful | ||
// | must first learn To face the loneliness,who can understand. | ||
// +-----------------------------------------------------------------*/ | ||
|
||
// 应用入口文件 | ||
|
||
|
||
// 检测PHP环境 | ||
if(version_compare(PHP_VERSION,'5.3.0','<')) die('require PHP > 5.3.0 !'); | ||
|
||
|
@@ -9,6 +30,8 @@ | |
define('APP_DEBUG', true); | ||
|
||
// 引入skphp入口文件 | ||
require '../vendor/sevensoft/framework/skphp.php'; | ||
require '../vendor/skschool/framework/skphp.php'; | ||
|
||
|
||
// 亲^_^ 后面不需要任何代码了 就是如此简单 | ||
|