diff --git a/sc.php b/sc.php
index 1146b5a..bebc8ca 100644
--- a/sc.php
+++ b/sc.php
@@ -1218,13 +1218,12 @@ $versions = array(
array("PHPWiki", "/lib/config.php", "define('PHPWIKI_VERSION',"),
array("PixelPost", "/includes/pixelpost.php", "Pixelpost version "),
array("PrestaShop", "/config/settings.inc.php", "define('_PS_VERSION_',"),
- array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
- array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
- array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
- array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
- array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
- array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
- array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
+ array("tDah Webmail", "/config.system.php", "\/SW_VERSION\/"),
+ array("Agora Cart", "/agora.cgi", "\/versions\/"),
+
+// still need to work on these
+ array("CubeCart", "/index.php", "CubeCart v"), // may need one more line
+ array("Soholaunch", "/index.php", "\#\# Soholaunch\(R\) Site Management Tool"), // needs two more lines
array("Silverstripe", "/cms/silverstripe_version", "*"), //needs review
array("Croogo", "/Vendor/croogo/croogo/VERSION.txt", "*"), // needs further review
array("XMB", "/db/mysql.php", "* eXtreme Message Board"), // needs 2nd line too
@@ -1240,7 +1239,25 @@ $versions = array(
array("DataLife Engine", "/index.php", "dle_version ="), //needs one more line
array("phpCoin", "/version.php", "ThisVersion"), //needs one more line
array("Avactis", "/version.php", "PRODUCT_VERSION_NUMBER"), // needs one more line
-
+ array("AccountLab Plus", "/version.php", "ALPversion="), // needs one more line
+ array("Flynax Classifieds", "/control.inc.php", "VERSION:"), // may need one more line
+ array("vBulletin", "/version.php", "fr_version ="), // may need one more line
+ array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
+ array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
+ array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
+ array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
+ array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
+ array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
+ array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
+ array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
+ array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
+ array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
+ array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
+ array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
+ array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
+ array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
+ array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
+ array("Gallery", "/modules/gallery/helpers/gallery.php", "const VERSION ="),
);
@@ -1260,27 +1277,6 @@ foreach(glob("./{**/*,*}".$row[1], GLOB_BRACE) as $versionfile){
}
}
-echo $GLOBALS["red"] . $GLOBALS["br"] . "AccountLab Plus
";
-system ("find ../ -name version.php -exec grep -HA1 'ALPversion=' {} \;");
-
-echo $GLOBALS["red"] . $GLOBALS["br"] . "tDah Webmail
";
-system("find ../ -name config.system.php -print -exec awk '/define/ && /SW_VERSION/' {} \;");
-
-echo $GLOBALS["red"] . $GLOBALS["br"] . "Agora Cart
";
-system("find ../ -name agora.cgi -print -exec awk '/versions/ && /agora.cgi/' {} \;");
-
-echo $GLOBALS["red"] . $GLOBALS["br"] . "Flynax Classifieds
";
-system("find ../ -name control.inc.php -exec grep -HA1 'VERSION:' {} \;");
-
-echo $GLOBALS["red"] . $GLOBALS["br"] . "vBulletin
";
-system("find ../ -name version.php -exec grep -HA1 'fr_version = ' {} \;");
-
-echo $GLOBALS["red"] . $GLOBALS["br"] . "CubeCart
";
-system("find ../ -name index.php -exec grep -HA1 'CubeCart v' {} \;");
-
-echo $GLOBALS["red"] . $GLOBALS["br"] . "Soholaunch
";
-system("find ../ -name index.php -exec grep -HA2 '\#\# Soholaunch\(R\) Site Management Tool' {} \;");
-
echo $GLOBALS["red"] . $GLOBALS["br"] . "PHP Pro Bid
";
system("find ../ -name index.php -exec grep -HA1 'PHP Pro Bid v' {} \;");