fleshing out json output feature
This commit is contained in:
@@ -67,8 +67,11 @@ class MVCController{
|
||||
|
||||
//check if testaction is valid
|
||||
if(file_exists($this->testaction)){
|
||||
|
||||
echo('"output": [');
|
||||
//execute testaction
|
||||
include_once($this->testaction);
|
||||
echo("]");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user