ini_set(): Session ini settings cannot be changed after headers have already been sent search →
SYSTEMPATH/Session/Handlers/FileHandler.php at line 72
65
66 public function __construct(SessionConfig $config, string $ipAddress)
67 {
68 parent::__construct($config, $ipAddress);
69
70 if (! empty($this->savePath)) {
71 $this->savePath = rtrim($this->savePath, '/\\');
72 ini_set('session.save_path', $this->savePath);
73 } else {
74 $sessionPath = rtrim(ini_get('session.save_path'), '/\\');
75
76 if ($sessionPath === '') {
77 $sessionPath = WRITEPATH . 'session';
78 }
79