Skip to content

Container::get('app')->run()->send(); 访问报错是为何 #38

@icebemm

Description

@icebemm

index.php入口文件
// namespace think;

// // 加载基础文件
// require DIR . '/../thinkphp/base.php';

// // 支持事先使用静态方法设置Request对象和Config对象

// // 执行应用并响应
// Container::get('app')->run()->send();

但执行访问,报错了
方法不存在: app\common\behavior\InitConfigBehavior::run()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions