Merge pull request #3418 from halkyon/remove_supression

Remove @ suppression operator on session_start()
This commit is contained in:
Stig Lindqvist 2014-08-22 17:08:10 +12:00
commit c8c1833e09

View File

@ -376,10 +376,8 @@ class Session {
// seperate (less secure) session for non-HTTPS requests
if($secure) session_name('SECSESSID');
// @ is to supress win32 warnings/notices when session wasn't cleaned up properly
// There's nothing we can do about this, because it's an operating system function!
if($sid) session_id($sid);
@session_start();
session_start();
$this->data = isset($_SESSION) ? $_SESSION : array();
}