-
{PHP internal code} — CodeIgniter\Debug\Exceptions->errorHandler ()
-
SYSTEMPATH/Session/Handlers/FileHandler.php : 71 — ini_set()
-
SYSTEMPATH/Config/Services.php : 658 — CodeIgniter\Session\Handlers\FileHandler->__construct ()
651 if ($driver === 'MySQLi') { 652 $driverName = MySQLiHandler::class; 653 } elseif ($driver === 'Postgre') { 654 $driverName = PostgreHandler::class; 655 } 656 } 657 658 $driver = new $driverName($config, AppServices::request()->getIPAddress()); 659 $driver->setLogger($logger); 660 661 $session = new Session($driver, $config); 662 $session->setLogger($logger); 663 664 if (session_status() === PHP_SESSION_NONE) { 665 $session->start(); -
SYSTEMPATH/Config/BaseService.php : 253 — CodeIgniter\Config\Services::session ()
246 { 247 $service = static::serviceExists($name); 248 249 if ($service === null) { 250 return null; 251 } 252 253 return $service::$name(...$arguments); 254 } 255 256 /** 257 * Check if the requested service is defined and return the declaring 258 * class. Return null if not found. 259 */ 260 public static function serviceExists(string $name): ?string -
SYSTEMPATH/Config/BaseService.php : 194 — CodeIgniter\Config\BaseService::__callStatic ()
187 return static::$mocks[$key]; 188 } 189 190 if (! isset(static::$instances[$key])) { 191 // Make sure $getShared is false 192 $params[] = false; 193 194 static::$instances[$key] = AppServices::$key(...$params); 195 } 196 197 return static::$instances[$key]; 198 } 199 200 /** 201 * The Autoloader class is the central class that handles our -
SYSTEMPATH/Config/Services.php : 637 — CodeIgniter\Config\BaseService::getSharedInstance ()
630 * Return the session manager. 631 * 632 * @return Session 633 */ 634 public static function session(?App $config = null, bool $getShared = true) 635 { 636 if ($getShared) { 637 return static::getSharedInstance('session', $config); 638 } 639 640 $config ??= config('App'); 641 $logger = AppServices::logger(); 642 643 $driverName = $config->sessionDriver; 644 -
SYSTEMPATH/Config/BaseService.php : 253 — CodeIgniter\Config\Services::session ()
246 { 247 $service = static::serviceExists($name); 248 249 if ($service === null) { 250 return null; 251 } 252 253 return $service::$name(...$arguments); 254 } 255 256 /** 257 * Check if the requested service is defined and return the declaring 258 * class. Return null if not found. 259 */ 260 public static function serviceExists(string $name): ?string -
APPPATH/Controllers/BaseController.php : 57 — CodeIgniter\Config\BaseService::__callStatic ()
50 // Do Not Edit This Line 51 parent::initController($request, $response, $logger); 52 53 // Preload any models, libraries, etc, here. 54 55 // E.g.: $this->session = \Config\Services::session(); 56 57 $this->session = \Config\Services::session(); 58 59 $this->validation = \Config\Services::validation(); 60 61 // $this->uri = \CodeIgniter\HTTP\URI(); 62 63 64 } -
SYSTEMPATH/CodeIgniter.php : 865 — App\Controllers\BaseController->initController ()
858 * Instantiates the controller class. 859 * 860 * @return Controller 861 */ 862 protected function createController() 863 { 864 $class = new $this->controller(); 865 $class->initController($this->request, $this->response, Services::logger()); 866 867 $this->benchmark->stop('controller_constructor'); 868 869 return $class; 870 } 871 872 /** -
SYSTEMPATH/CodeIgniter.php : 448 — CodeIgniter\CodeIgniter->createController ()
441 } 442 } 443 444 $returned = $this->startController(); 445 446 // Closure controller has run in startController(). 447 if (! is_callable($this->controller)) { 448 $controller = $this->createController(); 449 450 if (! method_exists($controller, '_remap') && ! is_callable([$controller, $this->method], false)) { 451 throw PageNotFoundException::forMethodNotFound($this->method); 452 } 453 454 // Is there a "post_controller_constructor" event? 455 Events::trigger('post_controller_constructor'); -
SYSTEMPATH/CodeIgniter.php : 340 — CodeIgniter\CodeIgniter->handleRequest ()
333 334 // spark command has nothing to do with HTTP redirect and 404 335 if ($this->isSparked()) { 336 return $this->handleRequest($routes, $cacheConfig, $returnResponse); 337 } 338 339 try { 340 return $this->handleRequest($routes, $cacheConfig, $returnResponse); 341 } catch (RedirectException $e) { 342 $logger = Services::logger(); 343 $logger->info('REDIRECTED ROUTE at ' . $e->getMessage()); 344 345 // If the route is a 'redirect' route, it throws 346 // the exception with the $to as the message 347 $this->response->redirect(base_url($e->getMessage()), 'auto', $e->getCode()); -
FCPATH/index2.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 -
include FCPATH/index.php — include()