|
|
|
@ -19,7 +19,6 @@ class Application extends App { |
|
|
|
parent::__construct('files', $urlParams); |
|
|
|
$container = $this->getContainer(); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* Controllers |
|
|
|
*/ |
|
|
|
@ -52,16 +51,5 @@ class Application extends App { |
|
|
|
$homeFolder |
|
|
|
); |
|
|
|
}); |
|
|
|
|
|
|
|
/** |
|
|
|
* Controllers |
|
|
|
*/ |
|
|
|
$container->registerService('APIController', function (IContainer $c) { |
|
|
|
return new ApiController( |
|
|
|
$c->query('AppName'), |
|
|
|
$c->query('Request'), |
|
|
|
$c->query('TagService') |
|
|
|
); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |