test end file
This commit is contained in:
@@ -137,14 +137,14 @@ $out = array();
|
||||
|
||||
if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||
if ( $endpoint == 'uploads'){
|
||||
$local_out=["test_msg"=>'Yes the upload endpoint was hit******** 888'];
|
||||
$local_out=["test_msg"=>'Yes the upload endpoint was hit******** 555'];
|
||||
$call_backend = false; // will be decided after file is saved
|
||||
//$out=[];
|
||||
$in = flatten(json_decode(file_get_contents('php://input'), true));
|
||||
//$in = json_decode($raw_json, true);
|
||||
$in["call_backend"] = $call_backend;
|
||||
$out = getSiteConfigurations($wrenchboard,"system.primary_uploads");
|
||||
$in["system_primary_uploads"] = $out["system_primary_uploads"];
|
||||
$in["system_primary_uploads"] = getSiteConfigurations($wrenchboard,"system.primary_uploads");
|
||||
$out["system_primary_uploads"] = $in["system_primary_uploads"];
|
||||
$local_out["system_primary_uploads"] = $in["system_primary_uploads"];
|
||||
$out = reciveUpload($in, $local_out);
|
||||
$call_backend = $out["call_backend"];
|
||||
|
||||
Reference in New Issue
Block a user