version.php wasn't scanning the docroot
This commit is contained in:
@@ -173,7 +173,7 @@ $versions = array(
|
|||||||
);
|
);
|
||||||
|
|
||||||
foreach($versions as $row){
|
foreach($versions as $row){
|
||||||
foreach(glob("../{**/*,*}".$row[1], GLOB_BRACE) as $versionfile){
|
foreach(glob("../{**/*,*}".$row[1], GLOB_BRACE) as $versionfile) && foreach(glob("../*".$row[1], GLOB_BRACE) as $versionfile) {
|
||||||
|
|
||||||
$file = file_get_contents($versionfile);
|
$file = file_get_contents($versionfile);
|
||||||
$pattern = preg_quote($row[2], '/');
|
$pattern = preg_quote($row[2], '/');
|
||||||
|
|||||||
Reference in New Issue
Block a user