run.php: remove screenshot routes
This has been fixed in Icinga Web 2 in the meantime. Older versions might not see screenshots in there doc module, but that's something I can live with :p fixes #12918
This commit is contained in:
parent
60c08b9bc8
commit
7b5468a263
14
run.php
14
run.php
|
@ -42,17 +42,3 @@ $this->provideHook('director/Job', $prefix . 'Job\\HousekeepingJob');
|
|||
$this->provideHook('director/Job', $prefix . 'Job\\ConfigJob');
|
||||
$this->provideHook('director/Job', $prefix . 'Job\\ImportJob');
|
||||
$this->provideHook('director/Job', $prefix . 'Job\\SyncJob');
|
||||
|
||||
if (Icinga::app()->isCli()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$screenshotRoute = new Zend_Controller_Router_Route(
|
||||
'screenshot/director/:subdir/:file',
|
||||
array(
|
||||
'module' => 'director',
|
||||
'controller' => 'screenshot',
|
||||
)
|
||||
);
|
||||
|
||||
$this->addRoute('screenshot/director', $screenshotRoute);
|
||||
|
|
Loading…
Reference in New Issue