rookie mistakes
This commit is contained in:
parent
94881f499b
commit
2e295fa11c
@ -71,6 +71,7 @@ class MVCController{
|
||||
echo('"output": [');
|
||||
//execute testaction
|
||||
include_once($this->testaction);
|
||||
TestUtils::log('End of output', "OK", false);
|
||||
echo("]");
|
||||
}
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user