removed serlized
This commit is contained in:
@@ -557,7 +557,7 @@ class WrenchApi extends BaseController
|
||||
$raw_array = json_decode($raw_json, true);
|
||||
$raw_array["call_backend"] = $call_backend;
|
||||
$raw_array["system_primary_uploads"] = $this->getSiteConfigurations("system.primary_uploads");
|
||||
/* $out = ( new \App\Models\UploadManager() )->reciveUpload($raw_array, $local_out); */
|
||||
$out = ( new \App\Models\UploadManager() )->reciveUpload($raw_array, $local_out);
|
||||
$call_backend = $out["call_backend"];
|
||||
$in["message"] = $raw_array["message"] = $out["message"];
|
||||
$raw_array["file_data"] = $out['file_data'] = $in['file_data'] =""; // no need to carry raw file data anymore - saved or cached ath this point
|
||||
@@ -579,13 +579,13 @@ class WrenchApi extends BaseController
|
||||
$raw_array = ($get_param!=null) ? json_decode($get_param, true):[];
|
||||
}
|
||||
//$in = $raw_array;
|
||||
log_message('critical', "wrenchboard_api-CALL RAW DATA".serialize($raw_array) );
|
||||
//log_message('critical', "wrenchboard_api-CALL RAW DATA".serialize($raw_array) );
|
||||
//-- move to another module start
|
||||
|
||||
|
||||
$in["loc"] = $_SERVER["REMOTE_ADDR"];
|
||||
$in = $this->prepareEndPointData($endpoint, $raw_array,$call_backend,$local_out);
|
||||
log_message('critical', "wrenchboard_api-CALL PREPARE DATA".serialize($in) );
|
||||
// log_message('critical', "wrenchboard_api-CALL PREPARE DATA".serialize($in) );
|
||||
|
||||
$ecludedEndpoints = $this->sessionExcludedList();
|
||||
$out = array();
|
||||
@@ -596,7 +596,7 @@ class WrenchApi extends BaseController
|
||||
$call_backend = false;
|
||||
$local_out["status_msg"] = "invalid_session_msg";
|
||||
$local_out['internal_return'] = "-9999"; // PHP_INVALID_SESSION;
|
||||
log_message('critical', "***** ***** wrenchboard_api-CALL sessionCheck FAIL".serialize($local_out) );
|
||||
// log_message('critical', "***** ***** wrenchboard_api-CALL sessionCheck FAIL".serialize($local_out) );
|
||||
return json_encode( $local_out );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user