脚本执行
脚本路由
// app/index.php
namespace control;
class ctl_index extends ctl_base
{
// _init方法会先被执行
public static function _init()
{
}
//默认路由index
public function index()
{
echo __method__."\n";
}
}脚本参数
Last updated