Merge pull request #6686 from owncloud/fixes-6685-master
Fix ownCloud for php5.3.x
This commit is contained in:
commit
0e7283ef39
|
@ -128,7 +128,8 @@ class Server extends SimpleContainer implements IServerContainer {
|
||||||
return new \OC\L10N\Factory();
|
return new \OC\L10N\Factory();
|
||||||
});
|
});
|
||||||
$this->registerService('URLGenerator', function($c) {
|
$this->registerService('URLGenerator', function($c) {
|
||||||
$config = $this->getConfig();
|
/** @var $c SimpleContainer */
|
||||||
|
$config = $c->query('AllConfig');
|
||||||
return new \OC\URLGenerator($config);
|
return new \OC\URLGenerator($config);
|
||||||
});
|
});
|
||||||
$this->registerService('AppHelper', function($c) {
|
$this->registerService('AppHelper', function($c) {
|
||||||
|
|
Loading…
Reference in New Issue