fixed more versions

This commit is contained in:
Palma Solutions LTD
2017-05-13 11:05:05 +02:00
parent d71dccb323
commit 35b3a7d26c

54
sc.php
View File

@@ -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<br /><br /></span>";
system ("find ../ -name version.php -exec grep -HA1 'ALPversion=' {} \;");
echo $GLOBALS["red"] . $GLOBALS["br"] . "tDah Webmail<br /><br /></span>";
system("find ../ -name config.system.php -print -exec awk '/define/ && /SW_VERSION/' {} \;");
echo $GLOBALS["red"] . $GLOBALS["br"] . "Agora Cart<br /><br /></span>";
system("find ../ -name agora.cgi -print -exec awk '/versions/ && /agora.cgi/' {} \;");
echo $GLOBALS["red"] . $GLOBALS["br"] . "Flynax Classifieds<br /><br /></span>";
system("find ../ -name control.inc.php -exec grep -HA1 'VERSION:' {} \;");
echo $GLOBALS["red"] . $GLOBALS["br"] . "vBulletin<br /><br /></span>";
system("find ../ -name version.php -exec grep -HA1 'fr_version = ' {} \;");
echo $GLOBALS["red"] . $GLOBALS["br"] . "CubeCart<br /><br /></span>";
system("find ../ -name index.php -exec grep -HA1 'CubeCart v' {} \;");
echo $GLOBALS["red"] . $GLOBALS["br"] . "Soholaunch<br /><br /></span>";
system("find ../ -name index.php -exec grep -HA2 '\#\# Soholaunch\(R\) Site Management Tool' {} \;");
echo $GLOBALS["red"] . $GLOBALS["br"] . "PHP Pro Bid<br /><br /></span>";
system("find ../ -name index.php -exec grep -HA1 'PHP Pro Bid v' {} \;");