diff --git a/cms-ver.php b/cms-ver.php
index 94aa0f4..bbda672 100644
--- a/cms-ver.php
+++ b/cms-ver.php
@@ -191,8 +191,10 @@ foreach(glob("../{**/*,*}".$row[1], GLOB_BRACE) as $versionfile){
echo "
";
echo "".$row[0]." found:
";
echo implode("
", $matches[0]);
- echo "
";
- print_r ("location:".$versionfile);
+ echo "
";
+ $location = $versionfile;
+ $trim = str_replace($row[1], '', $location);
+ print_r ("location:".$trim);
}
@@ -209,7 +211,9 @@ foreach(glob("../".$row[1], GLOB_BRACE) as $versionfile) {
echo "".$row[0]." found:
";
echo implode("
", $matches[0]);
echo "
";
- print_r ("location:".$versionfile);
+ $location = $versionfile;
+ $trim = str_replace($row[1], '', $location);
+ print_r ("location:".$trim);
}
}
@@ -240,8 +244,9 @@ foreach(glob("../{**/*,*}".$raw[1], GLOB_BRACE) as $versionfiles){
echo "".$raw[0]." found:
";
echo implode("
", $matches[0]);
echo "
";
- print_r ("location:".$versionfiles);
-
+ $location = $versionfiles;
+ $trim = str_replace($raw[1], '', $location);
+ print_r ("location:".$trim);
}
}
@@ -258,8 +263,9 @@ foreach(glob("../".$raw[1], GLOB_BRACE) as $versionfiles) {
echo "".$raw[0]." found:
";
echo implode("
", $matches[0]);
echo "
";
- print_r ("location:".$versionfiles);
- }
+ $location = $versionfiles;
+ $trim = str_replace($raw[1], '', $location);
+ print_r ("location:".$trim); }
}
}
@@ -289,8 +295,9 @@ foreach(glob("../{**/*,*}".$rxw[1], GLOB_BRACE) as $versionfilex){
echo "".$rxw[0]." found:
";
echo implode("
", $matches[0]);
echo "
";
- print_r ("location:".$versionfilex);
-
+ $location = $versionfilex;
+ $trim = str_replace($rxw[1], '', $location);
+ print_r ("location:".$trim);
}
}
@@ -308,8 +315,10 @@ foreach(glob("../".$rxw[1], GLOB_BRACE) as $versionfilex) {
echo "".$rxw[0]." found:
";
echo implode("
", $matches[0]);
echo "
";
- print_r ("location:".$versionfilex);
- }
+ $location = $versionfilex;
+ $trim = str_replace($rxw[1], '', $location);
+ print_r ("location:".$trim);
+ }
}
}
\ No newline at end of file