mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix ownCloud for php5.3.x
This commit is contained in:
parent
0bc0a60a93
commit
e35bca1c26
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