mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 01:52:22 +03:00
Suppress session start warning
This commit is contained in:
parent
d530aeee39
commit
264f02baf7
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class CI_Session {
|
||||||
unset($_COOKIE[$this->_config['cookie_name']]);
|
unset($_COOKIE[$this->_config['cookie_name']]);
|
||||||
}
|
}
|
||||||
|
|
||||||
session_start();
|
@session_start();
|
||||||
|
|
||||||
// Is session ID auto-regeneration configured? (ignoring ajax requests)
|
// Is session ID auto-regeneration configured? (ignoring ajax requests)
|
||||||
if ((empty($_SERVER['HTTP_X_REQUESTED_WITH']) OR strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) !== 'xmlhttprequest')
|
if ((empty($_SERVER['HTTP_X_REQUESTED_WITH']) OR strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) !== 'xmlhttprequest')
|
||||||
|
|
Loading…
Reference in a new issue