summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-06-03 03:21:05 -0700
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-06-03 03:21:05 -0700
commitb76725c1fa1e23fb8e648e47d01c6001eab271ea (patch)
treefe1378852197b145053709372d45ddf54a498bcf /lib
parent422c6f7252d3d5507ce8c4751847742fa11d0c7d (diff)
parentb8b0b7606a7b5c38b95fa4c1d3b6d7d8a4a9df77 (diff)
downloadnextcloud-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.php6
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) {