-
{PHP internal code} — CodeIgniter\Debug\Exceptions->errorHandler ()
-
SYSTEMPATH/Session/Handlers/FileHandler.php : 72 — ini_set()
-
SYSTEMPATH/Config/Services.php : 667 — CodeIgniter\Session\Handlers\FileHandler->__construct ()
660 if ($driver === 'MySQLi') { 661 $driverName = MySQLiHandler::class; 662 } elseif ($driver === 'Postgre') { 663 $driverName = PostgreHandler::class; 664 } 665 } 666 667 $driver = new $driverName($config, AppServices::request()->getIPAddress()); 668 $driver->setLogger($logger); 669 670 $session = new Session($driver, $config); 671 $session->setLogger($logger); 672 673 if (session_status() === PHP_SESSION_NONE) { 674 $session->start();
-
SYSTEMPATH/Config/BaseService.php : 252 — CodeIgniter\Config\Services::session ()
245 { 246 $service = static::serviceExists($name); 247 248 if ($service === null) { 249 return null; 250 } 251 252 return $service::$name(...$arguments); 253 } 254 255 /** 256 * Check if the requested service is defined and return the declaring 257 * class. Return null if not found. 258 */ 259 public static function serviceExists(string $name): ?string
-
SYSTEMPATH/Config/BaseService.php : 193 — CodeIgniter\Config\BaseService::__callStatic ()
186 return static::$mocks[$key]; 187 } 188 189 if (! isset(static::$instances[$key])) { 190 // Make sure $getShared is false 191 $params[] = false; 192 193 static::$instances[$key] = AppServices::$key(...$params); 194 } 195 196 return static::$instances[$key]; 197 } 198 199 /** 200 * The Autoloader class is the central class that handles our
-
SYSTEMPATH/Config/Services.php : 641 — CodeIgniter\Config\BaseService::getSharedInstance ()
634 * Return the session manager. 635 * 636 * @return Session 637 */ 638 public static function session(?App $config = null, bool $getShared = true) 639 { 640 if ($getShared) { 641 return static::getSharedInstance('session', $config); 642 } 643 644 $config ??= config('App'); 645 assert($config instanceof App); 646 647 $logger = AppServices::logger(); 648
-
SYSTEMPATH/Config/BaseService.php : 252 — CodeIgniter\Config\Services::session ()
245 { 246 $service = static::serviceExists($name); 247 248 if ($service === null) { 249 return null; 250 } 251 252 return $service::$name(...$arguments); 253 } 254 255 /** 256 * Check if the requested service is defined and return the declaring 257 * class. Return null if not found. 258 */ 259 public static function serviceExists(string $name): ?string
-
SYSTEMPATH/Common.php : 979 — CodeIgniter\Config\BaseService::__callStatic ()
972 * @param string $val 973 * 974 * @return array|bool|float|int|object|Session|string|null 975 * @phpstan-return ($val is null ? Session : array|bool|float|int|object|string|null) 976 */ 977 function session(?string $val = null) 978 { 979 $session = Services::session(); 980 981 // Returning a single item? 982 if (is_string($val)) { 983 return $session->get($val); 984 } 985 986 return $session;
-
APPPATH/Controllers/Login.php : 123 — session()
-
SYSTEMPATH/CodeIgniter.php : 934 — App\Controllers\Login->reset ()
927 protected function runController($class) 928 { 929 // This is a Web request or PHP CLI request 930 $params = $this->router->params(); 931 932 $output = method_exists($class, '_remap') 933 ? $class->_remap($this->method, ...$params) 934 : $class->{$this->method}(...$params); 935 936 $this->benchmark->stop('controller'); 937 938 return $output; 939 } 940 941 /**
-
SYSTEMPATH/CodeIgniter.php : 499 — CodeIgniter\CodeIgniter->runController ()
492 if (! method_exists($controller, '_remap') && ! is_callable([$controller, $this->method], false)) { 493 throw PageNotFoundException::forMethodNotFound($this->method); 494 } 495 496 // Is there a "post_controller_constructor" event? 497 Events::trigger('post_controller_constructor'); 498 499 $returned = $this->runController($controller); 500 } else { 501 $this->benchmark->stop('controller_constructor'); 502 $this->benchmark->stop('controller'); 503 } 504 505 // If $returned is a string, then the controller output something, 506 // probably a view, instead of echoing it directly. Send it along
-
SYSTEMPATH/CodeIgniter.php : 368 — CodeIgniter\CodeIgniter->handleRequest ()
361 $this->response->send(); 362 $this->callExit(EXIT_SUCCESS); 363 364 return; 365 } 366 367 try { 368 return $this->handleRequest($routes, $cacheConfig, $returnResponse); 369 } catch (RedirectException $e) { 370 $logger = Services::logger(); 371 $logger->info('REDIRECTED ROUTE at ' . $e->getMessage()); 372 373 // If the route is a 'redirect' route, it throws 374 // the exception with the $to as the message 375 $this->response->redirect(base_url($e->getMessage()), 'auto', $e->getCode());
-
FCPATH/index.php : 71 — CodeIgniter\CodeIgniter->run ()
64 *--------------------------------------------------------------- 65 * LAUNCH THE APPLICATION 66 *--------------------------------------------------------------- 67 * Now that everything is setup, it's time to actually fire 68 * up the engines and make this app do its thang. 69 */ 70 71 $app->run(); 72