diff --git a/appinfo/application.php b/appinfo/application.php index 1f450d2..5c3b7f0 100644 --- a/appinfo/application.php +++ b/appinfo/application.php @@ -65,6 +65,7 @@ public function __construct (array $urlParams=array()) { return new DeviceMapper( $c->query('ServerContainer')->getDb() ); + }); $container->registerService('RootFolder', function($c) { return $this->getContainer()->getServer()->getRootFolder();