* Return true if RUN_MODE = api.

This commit is contained in:
songchenxuan
2023-07-04 16:53:43 +08:00
parent ec26685c7c
commit 29282fbd78
+2
View File
@@ -3039,6 +3039,8 @@ EOF;
*/ */
public static function canBeChanged($module, $object = null) public static function canBeChanged($module, $object = null)
{ {
if(defined('RUN_MODE') && RUN_MODE == 'api') return true;
global $app, $config; global $app, $config;
static $productsStatus = array(); static $productsStatus = array();
static $executionsStatus = array(); static $executionsStatus = array();