[0] HttpException in App.php line 404

controller not exists:app\Error\controller\Zxxw

     
  1. // 安装当前呼吁的玉器、借鉴
  2. $request->controller(Loader::parseName($controller, 1))->action($actionName);
  3. // 监听module_init
  4. Hook::listen('module_init', $request);
  5. try {
  6. $instance = Loader::controller($controller, $config['url_controller_layer'], $config['controller_suffix'], $config['empty_controller']);
  7. } catch (ClassNotFoundException $e) {
  8. throw new HttpException(404, 'controller not exists:' . $e->getClass());
  9. }
  10. // 获取当前操作名
  11. $action = $actionName . $config['action_suffix'];
  12. $vars = [];
  13. if (is_callable([$instance, $action])) {
  14. // 实践操作方式
  15. $call = [$instance, $action];

<sup id="254becc4"></sup>

  •