Config file use
This commit is contained in:
@@ -141,6 +141,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||
$in = flatten(json_decode(file_get_contents('php://input'), true));
|
||||
//$in = json_decode($raw_json, true);
|
||||
$in["call_backend"] = $call_backend;
|
||||
$out["system_primary_uploads"] = getSiteConfigurations($wrenchboard,"system.primary_uploads");
|
||||
$out = reciveUpload($in, $local_out);
|
||||
$call_backend = $out["call_backend"];
|
||||
$in["message"] = $out["message"];
|
||||
@@ -470,6 +471,11 @@ else
|
||||
$out['internal_return'] = 100; // to match the other
|
||||
}
|
||||
|
||||
function getSiteConfigurations($wrenchboard,$config_item){
|
||||
return $wrenchboard->cfgReadChar($config_item);
|
||||
}
|
||||
|
||||
// system.primary_uploads
|
||||
|
||||
header("HTTP/1.1 200 OK");
|
||||
header("Status: 200 OK");
|
||||
|
||||
Reference in New Issue
Block a user