diff --git a/dev_mvc/controller/MVCController.php b/dev_mvc/controller/MVCController.php index e496d16..bf234c3 100644 --- a/dev_mvc/controller/MVCController.php +++ b/dev_mvc/controller/MVCController.php @@ -71,6 +71,7 @@ class MVCController{ echo('"output": ['); //execute testaction include_once($this->testaction); + TestUtils::log('End of output', "OK", false); echo("]"); } diff --git a/dev_mvc/controller/TestUtils.php b/dev_mvc/controller/TestUtils.php index 2aa3812..238334f 100644 --- a/dev_mvc/controller/TestUtils.php +++ b/dev_mvc/controller/TestUtils.php @@ -4,7 +4,7 @@ class TestUtils{ public static $log = []; public static $status; - public static function log($output, $status = "OK",$addComma = false){ + public static function log($output, $status = "OK",$addComma = true){ $loginput = []; $loginput['message'] = $output; $loginput['status'] = $status;