rookie mistakes

This commit is contained in:
Andreas 2019-09-18 18:05:11 +02:00
parent 94881f499b
commit 2e295fa11c
2 changed files with 2 additions and 1 deletions

View File

@ -71,6 +71,7 @@ class MVCController{
echo('"output": [');
//execute testaction
include_once($this->testaction);
TestUtils::log('End of output', "OK", false);
echo("]");
}

View File

@ -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;