Fix ownCloud for php5.3.x

This commit is contained in:
Thomas Müller 2014-01-08 16:07:01 +01:00
parent 0bc0a60a93
commit e35bca1c26

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