@@ -16,5 +16,4 @@
namespace think;
require __DIR__ . '/../thinkphp/base.php';
-var_dump(888);
Container::get('app')->run()->send();
@@ -18,7 +18,6 @@ Loader::register();
// 注册错误和异常处理机制
Error::register();
-var_dump(11111);
// 实现日志接口
if (interface_exists('Psr\Log\LoggerInterface')) {
interface LoggerInterface extends \Psr\Log\LoggerInterface
@@ -433,7 +433,7 @@ class App extends Container
});
var_dump('bbb');
$response = $this->middleware->dispatch($this->request);
-
+ var_dump('ccc');
// 监听app_end
$this->hook->listen('app_end', $response);
@@ -69,7 +69,6 @@ abstract class Controller extends \stdClass
{
$this->app = $app;
$this->request = $app->request;
- var_dump(999);
// 控制器注入容器
Container::set('library\Controller', $this);
if (in_array($this->request->action(), get_class_methods(__CLASS__))) {