[0] HttpException in Url.php line 93

非法请求:home/news/article

  1. }
  2. // 设置当前请求的参数
  3. $this->app['request']->route($var);
  4. // 封装路由
  5. $route = [$module, $controller, $action];
  6. if ($this->hasDefinedRoute($route, $bind)) {
  7. throw new HttpException(404, 'invalid request:' . str_replace('|', $depr, $url));
  8. }
  9. return $route;
  10. }
  11. /**
  12. * 检查URL是否已经定义过路由
  13. * @access protected
  14. * @param string $route 路由信息

Call Stack

  1. in Url.php line 93
  2. at Url->parseUrl('home|news|article') in Url.php line 24
  3. at Url->run() in App.php line 363
  4. at App->run() in index.php line 25