From: Roland Häder Date: Sun, 7 Aug 2011 00:57:39 +0000 (+0000) Subject: grep-ing for global statements in security_functions.php is not required X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ce71b617cf5c6bc6ce1634ed46567b677979a409;p=mailer.git grep-ing for global statements in security_functions.php is not required --- diff --git a/DOCS/final-checker.sh b/DOCS/final-checker.sh index 40526a7fc5..322b9382d0 100755 --- a/DOCS/final-checker.sh +++ b/DOCS/final-checker.sh @@ -22,7 +22,7 @@ DEPRECATED_TPL=`find -type f -name "*.tpl" -exec grep "@DEPRECATED" {} \; | grep echo " - DEPRECATED in XML..." DEPRECATED_XML=`find -type f -name "*.xml" -exec grep "@DEPRECATED" {} \; | grep "@" --count` echo " - global statements..." -GLOBALS=`find -type f -name "*.php" -exec grep -Hn "global " {} \; | grep -v "//" | grep -v "phpmailer" --count` +GLOBALS=`find -type f -name "*.php" -exec grep -Hn "global " {} \; | grep -v "//" | grep -v "security_functions.php" | grep -v "phpmailer" --count` echo "$0: Result..." echo "--------------------------------------" echo " - Open TODOs: ${TODOS_PHP}/${TODOS_TPL}/${TODOS_XML}"