Make the session available as early as possible

This commit is contained in:
Robin Appelman 2014-05-23 13:27:27 +02:00
parent 71e1d919de
commit 8b56d52398
1 changed files with 2 additions and 0 deletions

View File

@ -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);