aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-05-31 17:31:52 +0200
committerRobin Appelman <icewind@owncloud.com>2013-05-31 17:31:52 +0200
commitb8b0b7606a7b5c38b95fa4c1d3b6d7d8a4a9df77 (patch)
treefc124635ba201bafd49acf47a3fb061a656a8372 /lib/base.php
parentd636e168a6c043ddae730f7cdaaee772b1067793 (diff)
downloadnextcloud-server-b8b0b7606a7b5c38b95fa4c1d3b6d7d8a4a9df77.tar.gz
nextcloud-server-b8b0b7606a7b5c38b95fa4c1d3b6d7d8a4a9df77.zip
initialize the session earlier
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/base.php b/lib/base.php
index 9d1d4b5e058..567b00f1faa 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) {