]> git.mxchange.org Git - mailer.git/commitdiff
grep-ing for global statements in security_functions.php is not required
authorRoland Häder <roland@mxchange.org>
Sun, 7 Aug 2011 00:57:39 +0000 (00:57 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 7 Aug 2011 00:57:39 +0000 (00:57 +0000)
DOCS/final-checker.sh

index 40526a7fc54957571bea20981dfb3ac118c56985..322b9382d018f72b87d2d3a1845db68b92dc4f84 100755 (executable)
@@ -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}"