Merge pull request #6686 from owncloud/fixes-6685-master
Fix ownCloud for php5.3.x
This commit is contained in:
commit
0e7283ef39
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue