CMS  Version 3.9
show_log.inc
Go to the documentation of this file.
1 <?php
2 Fakoli::using("scheduled_task");
3 
4 $task_id = checkNumeric($_GET["task_id"]);
5 $log_entry_id = checkNumeric($_GET["log_entry_id"]);
6 
7 if (!$task_id || !$log_entry_id)
8 {
9  Fakoli::end("Missing Parameter");
10 }
11 
13 if ($log->task_id != $task_id)
14 {
15  Fakoli::end("Parameter mismatch");
16 }
17 
18 echo formatAsHTML($log->log);
static using()
Import the datamodels, views and manifest for the specified component(s).
Definition: core.inc:116
static end($message="")
Use this method to terminate execution of a script instead of using the php keywords exit() or die().
Definition: core.inc:1149
if(! $task_id||! $log_entry_id) $log
Definition: show_log.inc:12
$log_entry_id
Definition: show_log.inc:5
$task_id
Definition: show_log.inc:4