From 3eabd6d5b9843a590dd45a0d53f7bc5e68cbf1f7 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Sat, 12 Mar 2011 09:25:11 +0000 Subject: [PATCH] * adjust the check action's logic. --- bin/check.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/check.php b/bin/check.php index 6116cbdb16..c82e785b1b 100755 --- a/bin/check.php +++ b/bin/check.php @@ -31,7 +31,11 @@ foreach(glob($moduleRoot . '*') as $modulePath) $methodName = $method->name; if(!isset($lang->resource->$moduleName->$methodName)) { - echo $moduleName . "\t" . $methodName . " not in the list. \n"; + $methodName = strtolower($methodName); + if(!isset($lang->resource->$moduleName->$methodName)) + { + echo $moduleName . "\t" . $methodName . " not in the list. \n"; + } } } }