Skip to content

Commit

Permalink
Update index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
skschoo1 committed Sep 23, 2015
1 parent 9ee0549 commit df9359f
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions public/index.php
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 !');

Expand All @@ -9,6 +30,8 @@
define('APP_DEBUG', true);

// 引入skphp入口文件
require '../vendor/sevensoft/framework/skphp.php';
require '../vendor/skschool/framework/skphp.php';


// 亲^_^ 后面不需要任何代码了 就是如此简单

0 comments on commit df9359f

Please sign in to comment.