Suppress session start PHP warning (#1405)
This commit is contained in:
parent
bcf03a4b90
commit
04a63fd802
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