new patterns

This commit is contained in:
Palma Solutions LTD
2018-04-28 13:03:29 +02:00
parent 730226dfc2
commit 25b34c14c5
3 changed files with 10 additions and 2 deletions

View File

@@ -142,7 +142,6 @@ $versions = array(
array("XMB", "/db/mysql.php", "* eXtreme Message Board"), // needs 2nd line too
array("Dolphin", "/modules/boonex/news/install/config.php", "'compatible_with' => array("), // needs 2nd line too
array("WebMail Lite", "/adminpanel/VERSION", "*"), // needs further review
array("DotProj", "/includes/version.php", "\$dp_version_major"), // needs two more lines
array("PHPCollab", "/includes/settings.php", "# PhpCollab version"), // needs second line as well
array("Admidio", "/adm_program/system/constants.php", "define('ADMIDIO_VERSION_MAIN',"), // needs two more lines
array("Get Simple CMS", "/admin/inc/configuration.php", "\$site_full_name"), // needs one more line
@@ -262,6 +261,7 @@ foreach(glob("../".$raw[1], GLOB_BRACE) as $versionfiles) {
array("ZenCart", "/includes/version.php", "define('PROJECT_VERSION_NAME', 'Zen Cart');", "define('PROJECT_VERSION_MAJOR',", "define('PROJECT_VERSION_MINOR',"),
array("Magento", "/app/Mage.php", "'major' =>", "'minor' =>", "'revision' =>"),
array("AbanteCart", "/core/version.php", "define('MASTER_VERSION',", "define('MINOR_VERSION',", "define('VERSION_BUILT',"),
array("DotProj", "/includes/version.php", "\$dp_version_major", "\$dp_version_minor", "\$dp_version_patch"),
);