]> source.dussan.org Git - nextcloud-server.git/commitdiff
call initPaths() right before the server is instantiated
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 21 Oct 2014 12:10:57 +0000 (14:10 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 21 Oct 2014 12:10:57 +0000 (14:10 +0200)
lib/base.php

index ef654e916eaacf0d13673ee261315d593044c48e..fd3493782ad851fdadb30275e2c2bc4720e2fb1a 100644 (file)
@@ -457,8 +457,8 @@ class OC {
                $loaderEnd = microtime(true);
 
                // setup the basic server
-               self::$server = new \OC\Server();
                self::initPaths();
+               self::$server = new \OC\Server();
                \OC::$server->getEventLogger()->log('autoloader', 'Autoloader', $loaderStart, $loaderEnd);
                \OC::$server->getEventLogger()->start('boot', 'Initialize');