Removed initial software_upgrade
This commit is contained in:
7
api.php
7
api.php
@@ -168,10 +168,9 @@ if($is_jwt_valid && str_contains($version, 'v')) {
|
||||
// END check if endPoint is fileUpload
|
||||
//------------------------------------------
|
||||
|
||||
if ($collection === 'com_log' && file_exists($api_file_post)) {
|
||||
include_once $api_file_post;
|
||||
}
|
||||
elseif (isAllowed($collection,$profile,$permission,'R') === 1 && empty($input) && file_exists($api_file)){
|
||||
debuglog("API call: collection=$collection, input_empty=" . (empty($input) ? 'true' : 'false') . ", file_exists=" . (file_exists($api_file) ? 'true' : 'false'));
|
||||
|
||||
if (isAllowed($collection,$profile,$permission,'R') === 1 && empty($input) && file_exists($api_file)){
|
||||
|
||||
include_once $api_file;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user