Moned out position

This commit is contained in:
CHIEFSOFT\ameye
2023-06-03 18:54:39 -04:00
parent c9463cca0f
commit e06055c580
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -133,6 +133,8 @@ if (array_search($_SERVER['REQUEST_METHOD'], $methods) === false) {
exit();
}
$out = array();
if ($_SERVER["REQUEST_METHOD"] == "POST") {
if ( $endpoint == 'uploads'){
$local_out=["test_msg"=>'Yes the upload endpoint was hit******** 777'];
@@ -460,7 +462,7 @@ $in["pid"] = 100;
//file_put_contents("in_debug.log", $in); // DEBUG
$out = array();
if ( $call_backend == true && $in["action"] !='' ){
$ret = $wrenchboard->wrenchboard_api($in, $out);
$out['internal_return'] = $ret; // this is reserved array parameter - to be captured and received before you use the out array()