diff --git a/configure.php b/configure.php index e8ff9edba..8e0ab5abc 100755 --- a/configure.php +++ b/configure.php @@ -688,7 +688,7 @@ function getFileModificationHistory(): array { echo "Iterating over extension specific version files... "; if ($ac["GENERATE"] != "no") { - $globdir = dirname($ac["GENERATE"]) . "/{../,./}versions.xml"; + $globdir = dirname($ac["GENERATE"]) . "/{../../}versions.xml"; } else { if (file_exists($ac['rootdir'] . '/en/trunk')) { @@ -698,6 +698,9 @@ function getFileModificationHistory(): array { } $globdir .= "/*/*/versions.xml"; } + if (!defined('GLOB_BRACE')) { + define('GLOB_BRACE', 0); + } foreach(glob($globdir, GLOB_BRACE) as $file) { if($tmp->load($file)) { foreach($tmp->getElementsByTagName("function") as $function) {