diff --git a/sc.php b/sc.php index ecc6ea5..fb6aa1d 100644 --- a/sc.php +++ b/sc.php @@ -1137,6 +1137,7 @@ echo $GLOBALS["red"] . $GLOBALS["br"] . "Joomla

"; system ("find ../ -type f -path '*/libraries/joomla/version.php' -exec grep -H '\$RELEASE\ =\|\$DEV_LEVEL =' {} \; "); system ("find ../ -type f -path '*/libraries/cms/version.php' -exec grep -H '\$RELEASE\ =\|\$DEV_LEVEL =' {} \; "); system ("find ../ -type f -path '*/libraries/cms/version/version.php' -exec grep -H '\$RELEASE\ =\|\$DEV_LEVEL =' {} \; "); +system ("find ../ -type f -path '*/libraries/cms/version/version.php' -exec grep -H 'const RELEASE =|const DEV_LEVEL =' {} \; "); echo $GLOBALS["red"] . $GLOBALS["br"] . "osCommerce

"; system ("find ../ -type f -path '*/includes/application_top.php' -exec grep -H \"define('PROJECT_VERSION', 'osCommerce Online Merchant\" {} \;");