/var/www/myframework-v1.5/myframework/base/CWebApplication.php(36)
24 /** 25 * @param string $controller 26 * @param string $action 27 * @param array $arguments 28 * @throws CHttpException 29 */ 30 public function runController(string $directory, string $controller, string $action, array $arguments = []): void 31 { 32 $baseName = ucfirst($controller) . 'Controller'; 33 34 if (! is_file($file = APP . '/controllers/' . ($directory ? $directory . '/' : '') . $baseName . '.php')) 35 { 36 throw new CHttpException('Страница не найдена', 404); 37 } 38 39 require_once $file; 40 41 $className = PROJECT . '\\' . $baseName; 42 43 /** @var $class CController */ 44 $class = new $className($directory, $controller, $action); 45 46 $class->runController($arguments, $this->request->params); 47 } 48
| #0 |
+
–
/var/www/myframework-v1.5/myframework/base/CWebApplication.php(21): myframework\CWebApplication->runController() 16 17 protected function _processRequest() 18 { 19 list($directory, $controller, $action, $arguments) = $this->request->parseRequest(); 20 21 $this->runController($directory, $controller, $action, $arguments); 22 } 23 24 /** 25 * @param string $controller 26 * @param string $action |
| #1 |
+
–
/var/www/myframework-v1.5/myframework/base/CApplication.php(141): myframework\CWebApplication->_processRequest() 136 137 public function run(): void 138 { 139 register_shutdown_function([$this, 'end'], 0, false); 140 141 $this->_processRequest(); 142 } 143 144 public function end($status = 0, $exit = true) 145 { 146 if ($exit) |
| #2 |
+
–
/var/www/alenalearn.ru/root/apps/admin/web/index.php(41): myframework\CApplication->run() 36 37 require_once APP . '/extends/WebApplication.php'; 38 39 F::$app = new WebApplication(require_once '../config/main.php'); 40 41 F::$app->run(); |