更新入口文件注释
This commit is contained in:
parent
1a7d3d6d62
commit
fa4c6912d6
|
@ -22,6 +22,7 @@ class Framework {
|
|||
|
||||
/**
|
||||
* 执行
|
||||
* @param string $callable
|
||||
*/
|
||||
public static function startApp($callable = '') {
|
||||
header('content-type: text/html; charset=utf-8');
|
||||
|
|
|
@ -26,6 +26,12 @@ require '../framework/Framework.php';
|
|||
// Framework::resourcePath('/resource/');
|
||||
// 可使用常量RESOURCE取得该值
|
||||
|
||||
// 当前入口文件默认模块,缺省值:home
|
||||
// Framework::defaultModule('home');
|
||||
|
||||
// 路由模式,缺省值:1(pathinfo和兼容模式)
|
||||
// Framework::runType(1);
|
||||
|
||||
Framework::appPath('../application/');
|
||||
|
||||
// 执行程序
|
||||
|
|
Loading…
Reference in New Issue