diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2014-08-21 08:32:36 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2014-08-21 08:33:05 +0200 |
| commit | 48f040f9aac805fb80df4d4bde649c5e36353261 (patch) | |
| tree | 91925b6a8202a87ed0420ed8fa3439868a7d9317 /appinfo/application.php | |
| parent | 3b7dde5d693bbbde491c66b47b0040fcfdc851da (diff) | |
| download | grauphel-48f040f9aac805fb80df4d4bde649c5e36353261.tar.gz grauphel-48f040f9aac805fb80df4d4bde649c5e36353261.zip | |
index page showing server setting
Diffstat (limited to 'appinfo/application.php')
| -rw-r--r-- | appinfo/application.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/appinfo/application.php b/appinfo/application.php index 69d1572..cc39ceb 100644 --- a/appinfo/application.php +++ b/appinfo/application.php @@ -45,6 +45,17 @@ class Application extends App ); } ); + $container->registerService( + 'GuiController', + function($c) { + return new \OCA\Grauphel\Controller\GuiController( + $c->query('AppName'), + $c->query('Request'), + $c->query('Session')->getUser(), + $c->query('ServerContainer')->getURLGenerator() + ); + } + ); } } ?> |
