Merge pull request #8686 from owncloud/session-early
Make the session available as early as possible
This commit is contained in:
commit
3a1994d001
1 changed files with 3 additions and 0 deletions
|
@ -434,6 +434,9 @@ class OC {
|
|||
self::$loader->registerPrefix('Pimple', '3rdparty/Pimple');
|
||||
spl_autoload_register(array(self::$loader, 'load'));
|
||||
|
||||
// make a dummy session available as early as possible since error pages need it
|
||||
self::$session = new \OC\Session\Memory('');
|
||||
|
||||
// set some stuff
|
||||
//ob_start();
|
||||
error_reporting(E_ALL | E_STRICT);
|
||||
|
|
Loading…
Reference in a new issue