-
APPPATH/Controllers/HomeController.php : 125 — CodeIgniter\Debug\Exceptions->errorHandler ()
118 $data['bannerad1'] = $admodel->where('id', 7)->first(); 119 $data['bannerad2'] = $admodel->where('id', 8)->first(); 120 $data['ad1'] = $admodel->where('id', 12)->first(); 121 $data['ad2'] = $admodel->where('id', 13)->first(); 122 $data['ad3'] = $admodel->where('id', 14)->first(); 123 $data['ad4'] = $admodel->where('id', 15)->first(); 124 125 $metakeywords = $this->getTagString(json_decode($details->meta_key)); 126 $metadesc = $details->meta_desc; 127 $metatitle = $details->title . ' ' . $details->subtitle; 128 129 $meta = array(); 130 $meta['description'] = $metadesc; 131 $meta['keywords'] = $metakeywords; 132 $meta['meta_title'] = $metatitle; -
SYSTEMPATH/CodeIgniter.php : 951 — App\Controllers\HomeController->newsdetail ()
944 // This is a Web request or PHP CLI request 945 $params = $this->router->params(); 946 947 // The controller method param types may not be string. 948 // So cannot set `declare(strict_types=1)` in this file. 949 $output = method_exists($class, '_remap') 950 ? $class->_remap($this->method, ...$params) 951 : $class->{$this->method}(...$params); 952 953 $this->benchmark->stop('controller'); 954 955 return $output; 956 } 957 958 /** -
SYSTEMPATH/CodeIgniter.php : 497 — CodeIgniter\CodeIgniter->runController ()
490 if (! method_exists($controller, '_remap') && ! is_callable([$controller, $this->method], false)) { 491 throw PageNotFoundException::forMethodNotFound($this->method); 492 } 493 494 // Is there a "post_controller_constructor" event? 495 Events::trigger('post_controller_constructor'); 496 497 $returned = $this->runController($controller); 498 } else { 499 $this->benchmark->stop('controller_constructor'); 500 $this->benchmark->stop('controller'); 501 } 502 503 // If $returned is a string, then the controller output something, 504 // probably a view, instead of echoing it directly. Send it along -
SYSTEMPATH/CodeIgniter.php : 340 — CodeIgniter\CodeIgniter->handleRequest ()
333 $possibleResponse = $this->runRequiredBeforeFilters($filters); 334 335 // If a ResponseInterface instance is returned then send it back to the client and stop 336 if ($possibleResponse instanceof ResponseInterface) { 337 $this->response = $possibleResponse; 338 } else { 339 try { 340 $this->response = $this->handleRequest($routes, config(Cache::class), $returnResponse); 341 } catch (ResponsableInterface $e) { 342 $this->outputBufferingEnd(); 343 344 $this->response = $e->getResponse(); 345 } catch (PageNotFoundException $e) { 346 $this->response = $this->display404errors($e); 347 } catch (Throwable $e) { -
SYSTEMPATH/Boot.php : 417 — CodeIgniter\CodeIgniter->run ()
410 411 /** 412 * Now that everything is set up, it's time to actually fire 413 * up the engines and make this app do its thang. 414 */ 415 protected static function runCodeIgniter(CodeIgniter $app): void 416 { 417 $app->run(); 418 } 419 420 protected static function saveConfigCache(FactoriesCache $factoriesCache): void 421 { 422 $factoriesCache->save('config'); 423 } 424 -
SYSTEMPATH/Boot.php : 68 — CodeIgniter\Boot::runCodeIgniter ()
61 if ($configCacheEnabled) { 62 $factoriesCache = static::loadConfigCache(); 63 } 64 65 static::autoloadHelpers(); 66 67 $app = static::initializeCodeIgniter(); 68 static::runCodeIgniter($app); 69 70 if ($configCacheEnabled) { 71 static::saveConfigCache($factoriesCache); 72 } 73 74 // Exits the application, setting the exit code for CLI-based 75 // applications that might be watching. -
FCPATH/index.php : 59 — CodeIgniter\Boot::bootWeb ()
52 // ^^^ Change this line if you move your application folder 53 54 $paths = new Paths(); 55 56 // LOAD THE FRAMEWORK BOOTSTRAP FILE 57 require $paths->systemDirectory . '/Boot.php'; 58 59 exit(Boot::bootWeb($paths)); 60