Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-06-03 14:21:05 +0400
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-06-03 14:21:05 +0400
commitb76725c1fa1e23fb8e648e47d01c6001eab271ea (patch)
treefe1378852197b145053709372d45ddf54a498bcf
parent422c6f7252d3d5507ce8c4751847742fa11d0c7d (diff)
parentb8b0b7606a7b5c38b95fa4c1d3b6d7d8a4a9df77 (diff)
Merge pull request #3560 from owncloud/init-order-session
initialize the session earlier
-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) {