Merge pull request #6686 from owncloud/fixes-6685-master

Fix ownCloud for php5.3.x
This commit is contained in:
Jan-Christoph Borchardt 2014-01-08 07:33:12 -08:00
commit 0e7283ef39

View file

@ -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) {