Merge pull request #3560 from owncloud/init-order-session
initialize the session earlier
This commit is contained in:
commit
b76725c1fa
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue