summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-05-23 13:27:27 +0200
committerRobin Appelman <icewind@owncloud.com>2014-05-23 13:27:27 +0200
commit8b56d52398df051f86f5a1a766663c644611d704 (patch)
tree83f17a36545cdb679921d521b02a3c05d41656f4 /lib/base.php
parent71e1d919de274e30aa043dc6cae67d4e993b2f26 (diff)
downloadnextcloud-server-8b56d52398df051f86f5a1a766663c644611d704.tar.gz
nextcloud-server-8b56d52398df051f86f5a1a766663c644611d704.zip
Make the session available as early as possible
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php
index a022b9d005b..4a6e3f61c65 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -419,6 +419,8 @@ class OC {
self::$loader->registerPrefix('Pimple', '3rdparty/Pimple');
spl_autoload_register(array(self::$loader, 'load'));
+ self::$session = new \OC\Session\Memory('');
+
// set some stuff
//ob_start();
error_reporting(E_ALL | E_STRICT);