From 7b5468a2637d501d91850b4566828338b3408d35 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 13 Oct 2016 13:13:06 +0000 Subject: [PATCH] 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 --- run.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/run.php b/run.php index 0b6cf2d2..9c2ae566 100644 --- a/run.php +++ b/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);