diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-06-03 03:21:05 -0700 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-06-03 03:21:05 -0700 |
commit | b76725c1fa1e23fb8e648e47d01c6001eab271ea (patch) | |
tree | fe1378852197b145053709372d45ddf54a498bcf /lib | |
parent | 422c6f7252d3d5507ce8c4751847742fa11d0c7d (diff) | |
parent | b8b0b7606a7b5c38b95fa4c1d3b6d7d8a4a9df77 (diff) | |
download | nextcloud-server-b76725c1fa1e23fb8e648e47d01c6001eab271ea.tar.gz nextcloud-server-b76725c1fa1e23fb8e648e47d01c6001eab271ea.zip |
Merge pull request #3560 from owncloud/init-order-session
initialize the session earlier
Diffstat (limited to 'lib')
-rw-r--r-- | lib/base.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/base.php b/lib/base.php index d2a3d90f825..75f93b76627 100644 --- a/lib/base.php +++ b/lib/base.php @@ -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) { |