Upgrade code - step 1

This commit is contained in:
Fernando Ontiveros
2025-03-27 12:06:06 +00:00
parent fbd92c5964
commit 7f3ee186de
47635 changed files with 5941896 additions and 1779 deletions

View File

@@ -571,6 +571,12 @@ class Language extends BaseLanguage
$buildhash = file_get_contents($buildhash);
$michelangeloFE = PATH_HTML . "lib/js";
// Compatibility with Alpine Linux
if (!defined('GLOB_BRACE')) {
define('GLOB_BRACE', 0);
}
$array = glob($michelangeloFE . '/' . '*' . $buildhash . '*', GLOB_BRACE);
$pathFileMafe = array_pop($array);
if (file_exists($pathFileMafe) && is_readable($pathFileMafe)) {