-
{PHP internal code} — CodeIgniter\Debug\Exceptions->errorHandler ()
-
SYSTEMPATH/Session/Handlers/FileHandler.php : 72 — ini_set()
-
SYSTEMPATH/Config/Services.php : 686 — CodeIgniter\Session\Handlers\FileHandler->__construct ()
679 if ($driver === 'MySQLi') { 680 $driverName = MySQLiHandler::class; 681 } elseif ($driver === 'Postgre') { 682 $driverName = PostgreHandler::class; 683 } 684 } 685 686 $driver = new $driverName($config, AppServices::request()->getIPAddress()); 687 $driver->setLogger($logger); 688 689 $session = new Session($driver, $config); 690 $session->setLogger($logger); 691 692 if (session_status() === PHP_SESSION_NONE) { 693 // PHP Session emits the headers according to `session.cache_limiter`. -
SYSTEMPATH/Config/BaseService.php : 258 — CodeIgniter\Config\Services::session ()
251 { 252 $service = static::serviceExists($name); 253 254 if ($service === null) { 255 return null; 256 } 257 258 return $service::$name(...$arguments); 259 } 260 261 /** 262 * Check if the requested service is defined and return the declaring 263 * class. Return null if not found. 264 */ 265 public static function serviceExists(string $name): ?string -
SYSTEMPATH/Config/BaseService.php : 199 — CodeIgniter\Config\BaseService::__callStatic ()
192 return static::$mocks[$key]; 193 } 194 195 if (! isset(static::$instances[$key])) { 196 // Make sure $getShared is false 197 $params[] = false; 198 199 static::$instances[$key] = AppServices::$key(...$params); 200 } 201 202 return static::$instances[$key]; 203 } 204 205 /** 206 * The Autoloader class is the central class that handles our -
SYSTEMPATH/Config/Services.php : 664 — CodeIgniter\Config\BaseService::getSharedInstance ()
657 * Return the session manager. 658 * 659 * @return Session 660 */ 661 public static function session(?SessionConfig $config = null, bool $getShared = true) 662 { 663 if ($getShared) { 664 return static::getSharedInstance('session', $config); 665 } 666 667 $config ??= config(SessionConfig::class); 668 669 $logger = AppServices::logger(); 670 671 $driverName = $config->driver; -
SYSTEMPATH/Config/BaseService.php : 258 — CodeIgniter\Config\Services::session ()
251 { 252 $service = static::serviceExists($name); 253 254 if ($service === null) { 255 return null; 256 } 257 258 return $service::$name(...$arguments); 259 } 260 261 /** 262 * Check if the requested service is defined and return the declaring 263 * class. Return null if not found. 264 */ 265 public static function serviceExists(string $name): ?string -
APPPATH/Controllers/BaseController.php : 60 — CodeIgniter\Config\BaseService::__callStatic ()
53 * @param ResponseInterface $response 54 * @param LoggerInterface $logger 55 */ 56 public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger) 57 { 58 parent::initController($request, $response, $logger); 59 60 $this->session = \Config\Services::session(); 61 62 helper("base_helper"); 63 64 if (isset($this->session->user) && !empty($this->session->user)) { 65 $this->user_authentication = $this->session->user; 66 } 67 } -
SYSTEMPATH/CodeIgniter.php : 916 — App\Controllers\BaseController->initController ()
909 * @return Controller 910 */ 911 protected function createController() 912 { 913 assert(is_string($this->controller)); 914 915 $class = new $this->controller(); 916 $class->initController($this->request, $this->response, Services::logger()); 917 918 $this->benchmark->stop('controller_constructor'); 919 920 return $class; 921 } 922 923 /** -
SYSTEMPATH/CodeIgniter.php : 494 — CodeIgniter\CodeIgniter->createController ()
487 } 488 } 489 490 $returned = $this->startController(); 491 492 // Closure controller has run in startController(). 493 if (! is_callable($this->controller)) { 494 $controller = $this->createController(); 495 496 if (! method_exists($controller, '_remap') && ! is_callable([$controller, $this->method], false)) { 497 throw PageNotFoundException::forMethodNotFound($this->method); 498 } 499 500 // Is there a "post_controller_constructor" event? 501 Events::trigger('post_controller_constructor'); -
SYSTEMPATH/CodeIgniter.php : 361 — CodeIgniter\CodeIgniter->handleRequest ()
354 355 $this->getRequestObject(); 356 $this->getResponseObject(); 357 358 $this->spoofRequestMethod(); 359 360 try { 361 $this->response = $this->handleRequest($routes, config(Cache::class), $returnResponse); 362 } catch (ResponsableInterface|DeprecatedRedirectException $e) { 363 $this->outputBufferingEnd(); 364 if ($e instanceof DeprecatedRedirectException) { 365 $e = new RedirectException($e->getMessage(), $e->getCode(), $e); 366 } 367 368 $this->response = $e->getResponse(); -
FCPATH/index.php : 79 — CodeIgniter\CodeIgniter->run ()
72 *--------------------------------------------------------------- 73 * LAUNCH THE APPLICATION 74 *--------------------------------------------------------------- 75 * Now that everything is set up, it's time to actually fire 76 * up the engines and make this app do its thang. 77 */ 78 79 $app->run(); 80 81 // Save Config Cache 82 // $factoriesCache->save('config'); 83 // ^^^ Uncomment this line if you want to use Config Caching. 84 85 // Exits the application, setting the exit code for CLI-based applications 86 // that might be watching.