[icinga-checkins] icinga.org: icinga-web/master: fixed constant not written as constant ( thx to mbecker, fixes #2975)

git at icinga.org git at icinga.org
Tue Oct 9 16:40:42 CEST 2012


Module: icinga-web
Branch: master
Commit: 8827eb13719d902b2379013348bfcc44d004ab98
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=8827eb13719d902b2379013348bfcc44d004ab98

Author: Jannis Mosshammer <jannis.mosshammer at netways.de>
Date:   Tue Oct  9 16:40:10 2012 +0200

fixed constant not written as constant (thx to mbecker, fixes #2975)

---

 lib/icingaScheduler/icingaCron.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/icingaScheduler/icingaCron.php b/lib/icingaScheduler/icingaCron.php
index 2269c6a..d49dae2 100755
--- a/lib/icingaScheduler/icingaCron.php
+++ b/lib/icingaScheduler/icingaCron.php
@@ -30,7 +30,7 @@ class icingaCron implements IcingaCronJobInterface {
 	protected $action = "";
 	protected $verbose = false;
 	protected $parser;
-	protected $logfile = "CRON_DEFAULT_LOG_FILE";
+	protected $logfile = CRON_DEFAULT_LOG_FILE;
 	
 	public function getAction() {
 		return $this->action;
@@ -181,4 +181,4 @@ class icingaCron implements IcingaCronJobInterface {
 spl_autoload_register("icingaCron::__autoload");
 
 if($argv)
-	icingaCron::consoleInterface($argv);
\ No newline at end of file
+	icingaCron::consoleInterface($argv);





More information about the icinga-checkins mailing list