Merge pull request #3560 from owncloud/init-order-session

initialize the session earlier
This commit is contained in:
Jörn Friedrich Dreyer 2013-06-03 03:21:05 -07:00
commit b76725c1fa
1 changed files with 3 additions and 3 deletions

View File

@ -441,14 +441,14 @@ class OC {
stream_wrapper_register('oc', 'OC\Files\Stream\OC');
self::initTemplateEngine();
self::checkConfig();
self::checkInstalled();
self::checkSSL();
if ( !self::$CLI ) {
self::initSession();
} else {
self::$session = new \OC\Session\Memory('');
}
self::checkConfig();
self::checkInstalled();
self::checkSSL();
$errors = OC_Util::checkServer();
if (count($errors) > 0) {