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

@@ -504,6 +504,11 @@ class G
}
if (is_dir($dirName)) {
// Compatibility with Alpine Linux
if (!defined('GLOB_BRACE')) {
define('GLOB_BRACE', 0);
}
foreach (glob($dirName . '/{,.}*', GLOB_BRACE) as $file) {
if ($file == $dirName . '/.' || $file == $dirName . '/..') {
continue;