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