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:
Thomas Gelf 2016-10-13 13:13:06 +00:00
parent 60c08b9bc8
commit 7b5468a263
1 changed files with 0 additions and 14 deletions

14
run.php
View File

@ -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);