-
{PHP internal code} — CodeIgniter\Debug\Exceptions->errorHandler ()
-
SYSTEMPATH/Session/Handlers/FileHandler.php : 74 — ini_set()
-
SYSTEMPATH/Config/Services.php : 697 — CodeIgniter\Session\Handlers\FileHandler->__construct ()
690 throw new InvalidArgumentException(sprintf( 691 'Invalid session handler "%s" provided.', 692 $driverName 693 )); 694 } 695 696 /** @var SessionBaseHandler $driver */ 697 $driver = new $driverName($config, AppServices::get('request')->getIPAddress()); 698 $driver->setLogger($logger); 699 700 $session = new Session($driver, $config); 701 $session->setLogger($logger); 702 703 if (session_status() === PHP_SESSION_NONE) { 704 // PHP Session emits the headers according to `session.cache_limiter`.
-
SYSTEMPATH/Config/BaseService.php : 312 — CodeIgniter\Config\Services::session ()
305 * names. 306 * 307 * @return object|null 308 */ 309 public static function __callStatic(string $name, array $arguments) 310 { 311 if (isset(static::$factories[$name])) { 312 return static::$factories[$name](...$arguments); 313 } 314 315 $service = static::serviceExists($name); 316 317 if ($service === null) { 318 return null; 319 }
-
SYSTEMPATH/Config/BaseService.php : 251 — CodeIgniter\Config\BaseService::__callStatic ()
244 return static::$mocks[$key]; 245 } 246 247 if (! isset(static::$instances[$key])) { 248 // Make sure $getShared is false 249 $params[] = false; 250 251 static::$instances[$key] = AppServices::$key(...$params); 252 } 253 254 return static::$instances[$key]; 255 } 256 257 /** 258 * The Autoloader class is the central class that handles our
-
SYSTEMPATH/Config/Services.php : 668 — CodeIgniter\Config\BaseService::getSharedInstance ()
661 * Return the session manager. 662 * 663 * @return Session 664 */ 665 public static function session(?SessionConfig $config = null, bool $getShared = true) 666 { 667 if ($getShared) { 668 return static::getSharedInstance('session', $config); 669 } 670 671 $config ??= config(SessionConfig::class); 672 673 $logger = AppServices::get('logger'); 674 675 $driverName = $config->driver;
-
SYSTEMPATH/Config/BaseService.php : 321 — CodeIgniter\Config\Services::session ()
314 315 $service = static::serviceExists($name); 316 317 if ($service === null) { 318 return null; 319 } 320 321 return $service::$name(...$arguments); 322 } 323 324 /** 325 * Check if the requested service is defined and return the declaring 326 * class. Return null if not found. 327 */ 328 public static function serviceExists(string $name): ?string
-
SYSTEMPATH/Config/BaseService.php : 202 — CodeIgniter\Config\BaseService::__callStatic ()
195 * 196 * @param string $key Identifier of the entry to look for. 197 * 198 * @return object|null Entry. 199 */ 200 public static function get(string $key): ?object 201 { 202 return static::$instances[$key] ?? static::__callStatic($key, []); 203 } 204 205 /** 206 * Sets an entry. 207 * 208 * @param string $key Identifier of the entry. 209 */
-
SYSTEMPATH/Common.php : 996 — CodeIgniter\Config\BaseService::get ()
989 * - $timer = \CodeIgniter\Config\Services::timer(); 990 * 991 * @param array|bool|float|int|object|string|null ...$params 992 */ 993 function service(string $name, ...$params): ?object 994 { 995 if ($params === []) { 996 return Services::get($name); 997 } 998 999 return Services::$name(...$params); 1000 } 1001 } 1002 1003 if (! function_exists('single_service')) {
-
SYSTEMPATH/Common.php : 969 — service()
-
APPPATH/Controllers/Auth.php : 46 — session()
-
SYSTEMPATH/CodeIgniter.php : 933 — App\Controllers\Auth->login ()
926 // This is a Web request or PHP CLI request 927 $params = $this->router->params(); 928 929 // The controller method param types may not be string. 930 // So cannot set `declare(strict_types=1)` in this file. 931 $output = method_exists($class, '_remap') 932 ? $class->_remap($this->method, ...$params) 933 : $class->{$this->method}(...$params); 934 935 $this->benchmark->stop('controller'); 936 937 return $output; 938 } 939 940 /**
-
SYSTEMPATH/CodeIgniter.php : 509 — CodeIgniter\CodeIgniter->runController ()
502 if (! method_exists($controller, '_remap') && ! is_callable([$controller, $this->method], false)) { 503 throw PageNotFoundException::forMethodNotFound($this->method); 504 } 505 506 // Is there a "post_controller_constructor" event? 507 Events::trigger('post_controller_constructor'); 508 509 $returned = $this->runController($controller); 510 } else { 511 $this->benchmark->stop('controller_constructor'); 512 $this->benchmark->stop('controller'); 513 } 514 515 // If $returned is a string, then the controller output something, 516 // probably a view, instead of echoing it directly. Send it along
-
SYSTEMPATH/CodeIgniter.php : 355 — CodeIgniter\CodeIgniter->handleRequest ()
348 $possibleResponse = $this->runRequiredBeforeFilters($filters); 349 350 // If a ResponseInterface instance is returned then send it back to the client and stop 351 if ($possibleResponse instanceof ResponseInterface) { 352 $this->response = $possibleResponse; 353 } else { 354 try { 355 $this->response = $this->handleRequest($routes, config(Cache::class), $returnResponse); 356 } catch (DeprecatedRedirectException|ResponsableInterface $e) { 357 $this->outputBufferingEnd(); 358 if ($e instanceof DeprecatedRedirectException) { 359 $e = new RedirectException($e->getMessage(), $e->getCode(), $e); 360 } 361 362 $this->response = $e->getResponse();
-
SYSTEMPATH/Boot.php : 325 — CodeIgniter\CodeIgniter->run ()
318 319 /** 320 * Now that everything is set up, it's time to actually fire 321 * up the engines and make this app do its thang. 322 */ 323 protected static function runCodeIgniter(CodeIgniter $app): void 324 { 325 $app->run(); 326 } 327 328 protected static function saveConfigCache(FactoriesCache $factoriesCache): void 329 { 330 $factoriesCache->save('config'); 331 } 332
-
SYSTEMPATH/Boot.php : 67 — CodeIgniter\Boot::runCodeIgniter ()
60 if ($configCacheEnabled) { 61 $factoriesCache = static::loadConfigCache(); 62 } 63 64 static::autoloadHelpers(); 65 66 $app = static::initializeCodeIgniter(); 67 static::runCodeIgniter($app); 68 69 if ($configCacheEnabled) { 70 static::saveConfigCache($factoriesCache); 71 } 72 73 // Exits the application, setting the exit code for CLI-based 74 // applications that might be watching.
-
FCPATH/index.php : 78 — CodeIgniter\Boot::bootWeb ()
71 // ^^^ Change this line if you move your application folder 72 73 $paths = new Config\Paths(); 74 75 // LOAD THE FRAMEWORK BOOTSTRAP FILE 76 require $paths->systemDirectory . '/Boot.php'; 77 78 exit(CodeIgniter\Boot::bootWeb($paths)); 79