index.php入口文件 // namespace think; // // 加载基础文件 // require __DIR__ . '/../thinkphp/base.php'; // // 支持事先使用静态方法设置Request对象和Config对象 // // 执行应用并响应 // Container::get('app')->run()->send(); 但执行访问,报错了 方法不存在: app\common\behavior\InitConfigBehavior::run()
index.php入口文件
// namespace think;
// // 加载基础文件
// require DIR . '/../thinkphp/base.php';
// // 支持事先使用静态方法设置Request对象和Config对象
// // 执行应用并响应
// Container::get('app')->run()->send();
但执行访问,报错了
方法不存在: app\common\behavior\InitConfigBehavior::run()