diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-06-03 19:23:30 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-06-03 19:23:30 +0200 |
commit | 3a1994d00149bea6d554c96a3bdee3126cfb17b8 (patch) | |
tree | 1c8dbecdad2bcb23cf399743b09b6db50dffda0b | |
parent | 6764d5b122fbdf105dc34c2fa3ccb7cf3eae3c6e (diff) | |
parent | 3e14affa9b3a5c44108e43fef15ce9b9970640d9 (diff) | |
download | nextcloud-server-3a1994d00149bea6d554c96a3bdee3126cfb17b8.tar.gz nextcloud-server-3a1994d00149bea6d554c96a3bdee3126cfb17b8.zip |
Merge pull request #8686 from owncloud/session-early
Make the session available as early as possible
-rw-r--r-- | lib/base.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index 5f2131f388f..f7cfca90614 100644 --- a/lib/base.php +++ b/lib/base.php @@ -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); |