]> source.dussan.org Git - nextcloud-server.git/commitdiff
initialize the session earlier
authorRobin Appelman <icewind@owncloud.com>
Fri, 31 May 2013 15:31:52 +0000 (17:31 +0200)
committerRobin Appelman <icewind@owncloud.com>
Fri, 31 May 2013 15:31:52 +0000 (17:31 +0200)
lib/base.php

index 9d1d4b5e0587b20b4dd7eed6cba312cbc5422147..567b00f1faad25d729ee0e22d392d80b3543bba1 100644 (file)
@@ -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) {