From 109bbac963a93bc95f5ae4a2a24955bf8a288ef3 Mon Sep 17 00:00:00 2001 From: Michael Clemens Date: Mon, 22 Jun 2009 21:41:00 +0000 Subject: [PATCH] minor bugfix --- admin.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/admin.php b/admin.php index 2f5d134..e6e22fe 100644 --- a/admin.php +++ b/admin.php @@ -73,7 +73,7 @@ if ($_POST["css"] != "") { // do nothing // show settings page } else if ($tsmmonitor->GETVars['qq'] == "settings") { - $tmonpolld = new PollD($adodb); + $tmonpolld = new PollD($adodb, $config["server_os"]); $tmonpolld->adodb->setDebug($_SESSION["debug"]); // If start/stop button was pressed @@ -84,7 +84,6 @@ if ($_POST["css"] != "") { $tmonpolld->controlPollD("off"); } } - if ($tmonpolld->isEnabled()=="1") { $polldenabled = "enabled and ".$tmonpolld->getStatus(); //$cellcolor = "green"; @@ -92,7 +91,6 @@ if ($_POST["css"] != "") { $polldenabled = "disabled"; //$cellcolor = "red"; } - echo "
"; echo ""; echo "";
ConfigurationActionStatus