APPPATH/Controllers/Branches.php : 18 — CodeIgniter\Debug\Exceptions->errorHandler ()
11 { 12 13 $list = model('App\Models\Subeler')->orderBy('sira','ASC')->findAll(); 14 15 16 $pageImage = getAssets('pageimage','subeler',1); 17 $detail = model('App\Models\BranchesPage')->first(); 18 $this->setSeoTags([$detail->seotitle, true], $detail->seodesc, $detail->seokey); 19 return view('branches',compact('list','pageImage')); 20 } 21 22 23 } 24SYSTEMPATH/CodeIgniter.php : 927 — App\Controllers\Branches->index ()
920 $output = $class->_remap($this->method, $params); 921 } else { 922 // This is a Web request or PHP CLI request 923 $params = $this->router->params(); 924 925 $output = method_exists($class, '_remap') 926 ? $class->_remap($this->method, ...$params) 927 : $class->{$this->method}(...$params); 928 } 929 930 $this->benchmark->stop('controller'); 931 932 return $output; 933 } 934SYSTEMPATH/CodeIgniter.php : 482 — CodeIgniter\CodeIgniter->runController ()
475 if (! method_exists($controller, '_remap') && ! is_callable([$controller, $this->method], false)) { 476 throw PageNotFoundException::forMethodNotFound($this->method); 477 } 478 479 // Is there a "post_controller_constructor" event? 480 Events::trigger('post_controller_constructor'); 481 482 $returned = $this->runController($controller); 483 } else { 484 $this->benchmark->stop('controller_constructor'); 485 $this->benchmark->stop('controller'); 486 } 487 488 // If $returned is a string, then the controller output something, 489 // probably a view, instead of echoing it directly. Send it alongSYSTEMPATH/CodeIgniter.php : 351 — CodeIgniter\CodeIgniter->handleRequest ()
344 345 // spark command has nothing to do with HTTP redirect and 404 346 if ($this->isSparked()) { 347 return $this->handleRequest($routes, $cacheConfig, $returnResponse); 348 } 349 350 try { 351 return $this->handleRequest($routes, $cacheConfig, $returnResponse); 352 } catch (RedirectException $e) { 353 $logger = Services::logger(); 354 $logger->info('REDIRECTED ROUTE at ' . $e->getMessage()); 355 356 // If the route is a 'redirect' route, it throws 357 // the exception with the $to as the message 358 $this->response->redirect(base_url($e->getMessage()), 'auto', $e->getCode());FCPATH/index.php : 67 — CodeIgniter\CodeIgniter->run ()
60 *--------------------------------------------------------------- 61 * LAUNCH THE APPLICATION 62 *--------------------------------------------------------------- 63 * Now that everything is setup, it's time to actually fire 64 * up the engines and make this app do its thang. 65 */ 66 67 $app->run(); 68