Upgrade PHP files
This commit is contained in:
@@ -34,11 +34,8 @@ if ($handle = opendir(PATH_PLUGINS)) {
|
||||
$pluginName = str_replace(".php", "", $pluginFile);
|
||||
|
||||
if (is_file(PATH_PLUGINS . $pluginName . ".php") && is_dir(PATH_PLUGINS . $pluginName)) {
|
||||
/*----------------------------------********---------------------------------*/
|
||||
if (!$oPluginRegistry->isEnterprisePlugin($pluginName) &&
|
||||
PMLicensedFeatures::getSingleton()
|
||||
->verifyfeature('B0oWlBLY3hHdWY0YUNpZEtFQm5CeTJhQlIwN3IxMEkwaG4=')
|
||||
) {
|
||||
|
||||
if (!$oPluginRegistry->isEnterprisePlugin($pluginName)) {
|
||||
//Check disabled code
|
||||
$arrayFoundDisabledCode = [];
|
||||
$cs = new CodeScanner(config("system.workspace"));
|
||||
@@ -58,7 +55,6 @@ if ($handle = opendir(PATH_PLUGINS)) {
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
/*----------------------------------********---------------------------------*/
|
||||
|
||||
// change to ENABLED
|
||||
require_once($path);
|
||||
|
||||
Reference in New Issue
Block a user