From 638ef8b10bb5ffdb1e2445e315209d37a047970f Mon Sep 17 00:00:00 2001 From: Palma Solutions LTD Date: Sat, 5 May 2018 20:43:12 +0200 Subject: [PATCH] added current status for some scripts --- cms-ver.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cms-ver.php b/cms-ver.php index 91162b9..e2ad8ea 100644 --- a/cms-ver.php +++ b/cms-ver.php @@ -39,7 +39,7 @@ array("Nucleus", "/nucleus/libs/globalfunctions.php", "\$nucleus\['version'\] =", ""), array("Dotclear", "/inc/prepend.php", "define('DC_VERSION',", ""), 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("Chyrp", "/includes/common.php", "define('CHYRP_VERSION',", ""), array("PivotX", "/pivotx/lib.php", "\$version ="), @@ -222,8 +222,8 @@ foreach(glob("../".$row[1], GLOB_BRACE) as $versionfile) { $pattern = "/^.*$pattern.*\$/m"; if(preg_match_all($pattern, $file, $matches)){ echo "\n"; - echo "\n".$row[0]." found:\n"; - echo implode("\n", $matches[0]); + echo "\n".$row[0]." found - (".$row[3]."):\n"; + echo implode("\n", $matches[0]); echo "\n"; $location = $versionfile; $trim = str_replace($row[1], '', $location);