summaryrefslogtreecommitdiffstats
path: root/modules-available/debugconfig/page.inc.php
diff options
context:
space:
mode:
authorChristoph Schulthess2017-02-21 16:18:45 +0100
committerChristoph Schulthess2017-02-21 16:18:45 +0100
commit4201f8e7e0ac3cb1fccccd2785fb32aac7311591 (patch)
tree216d2d0aa7d15378efccd7c80b76965c0ee70534 /modules-available/debugconfig/page.inc.php
parentmhpf (diff)
downloadslx-admin-4201f8e7e0ac3cb1fccccd2785fb32aac7311591.tar.gz
slx-admin-4201f8e7e0ac3cb1fccccd2785fb32aac7311591.tar.xz
slx-admin-4201f8e7e0ac3cb1fccccd2785fb32aac7311591.zip
debugconfig and -request
Diffstat (limited to 'modules-available/debugconfig/page.inc.php')
-rw-r--r--modules-available/debugconfig/page.inc.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/modules-available/debugconfig/page.inc.php b/modules-available/debugconfig/page.inc.php
index 00698d26..09ae0d7d 100644
--- a/modules-available/debugconfig/page.inc.php
+++ b/modules-available/debugconfig/page.inc.php
@@ -24,11 +24,13 @@ class Page_debugConfig extends Page
{
$debug_config = $this->getConfig();
Render::addTemplate('debugconfig', array("debugEnabled" => $debug_config["enabled"], "debugServer" => $debug_config["debugServer"], "port" => $debug_config["port"]));
- if (gettype($taskstatus) == 'array') {
- error_log(count($taskstatus));
- }
+
+ $task = Property::getDebugTaskStruct();
+ $taskid = $task['id'];
+ $taskstatus = Taskmanager::status($task);
+ error_log(print_r($taskstatus, true));
- //Render::addTemplate('relaystatus', array("taskid" => $taskstatus));
+ Render::addTemplate('relaystatus', array("taskid" => $taskid, "taskstatus" => $taskstatus));
}
private function getConfig()