Upgrade PHP files

This commit is contained in:
Fernando Ontiveros
2025-03-28 13:16:06 +00:00
parent 7f3ee186de
commit 039ade9083
83 changed files with 96 additions and 745 deletions

View File

@@ -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);