added current status for some scripts

This commit is contained in:
Palma Solutions LTD 2018-05-05 20:43:12 +02:00
parent eed3181cd8
commit 638ef8b10b

View File

@ -39,7 +39,7 @@
array("Nucleus", "/nucleus/libs/globalfunctions.php", "\$nucleus\['version'\] =", ""), array("Nucleus", "/nucleus/libs/globalfunctions.php", "\$nucleus\['version'\] =", ""),
array("Dotclear", "/inc/prepend.php", "define('DC_VERSION',", ""), array("Dotclear", "/inc/prepend.php", "define('DC_VERSION',", ""),
array("TextPattern", "/textpattern/index.php", "\$thisversion =", ""), array("TextPattern", "/textpattern/index.php", "\$thisversion =", ""),
array("NibbleBlog", "/admin/boot/rules/98-constants.bit", "define('NIBBLEBLOG_VERSION',", ""), array("NibbleBlog", "/admin/boot/rules/98-constants.bit", "define('NIBBLEBLOG_VERSION',", "EOL"),
array("Lifetype", "/version.php", "\$version = \"lifetype", ""), array("Lifetype", "/version.php", "\$version = \"lifetype", ""),
array("Chyrp", "/includes/common.php", "define('CHYRP_VERSION',", ""), array("Chyrp", "/includes/common.php", "define('CHYRP_VERSION',", ""),
array("PivotX", "/pivotx/lib.php", "\$version ="), array("PivotX", "/pivotx/lib.php", "\$version ="),
@ -222,8 +222,8 @@ foreach(glob("../".$row[1], GLOB_BRACE) as $versionfile) {
$pattern = "/^.*$pattern.*\$/m"; $pattern = "/^.*$pattern.*\$/m";
if(preg_match_all($pattern, $file, $matches)){ if(preg_match_all($pattern, $file, $matches)){
echo "\n"; echo "\n";
echo "\n".$row[0]." found:\n"; echo "\n".$row[0]." found - (".$row[3]."):\n";
echo implode("\n", $matches[0]); echo implode("\n", $matches[0]);
echo "\n"; echo "\n";
$location = $versionfile; $location = $versionfile;
$trim = str_replace($row[1], '', $location); $trim = str_replace($row[1], '', $location);