diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-01-08 16:07:01 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-01-08 16:07:01 +0100 |
commit | e35bca1c266cbe1468da9b4a328e2521d00c30f2 (patch) | |
tree | b159baf8ab77d4f4c8f38af0c2e71e24bae6a156 /lib | |
parent | 0bc0a60a93d05f02ebac76850bf020fd5ef1bdd9 (diff) | |
download | nextcloud-server-e35bca1c266cbe1468da9b4a328e2521d00c30f2.tar.gz nextcloud-server-e35bca1c266cbe1468da9b4a328e2521d00c30f2.zip |
Fix ownCloud for php5.3.x
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/server.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/server.php b/lib/private/server.php index 5977ee9b5a0..2cbd37a97d7 100644 --- a/lib/private/server.php +++ b/lib/private/server.php @@ -128,7 +128,8 @@ class Server extends SimpleContainer implements IServerContainer { return new \OC\L10N\Factory(); }); $this->registerService('URLGenerator', function($c) { - $config = $this->getConfig(); + /** @var $c SimpleContainer */ + $config = $c->query('AllConfig'); return new \OC\URLGenerator($config); }); $this->registerService('AppHelper', function($c) { |