mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 09:23:08 +03:00
Suppress session start warning
This commit is contained in:
parent
505abd0430
commit
ffde07a483
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