From 5389efffa9c8d2da40bf6ea448562ae67538e0d4 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 5 Jun 2012 19:28:04 -0700 Subject: add email probe logging, limit typo check to main addon files and skip additional support files --- util/typo.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'util') diff --git a/util/typo.php b/util/typo.php index 7c275f3ca..bb2fc67c9 100644 --- a/util/typo.php +++ b/util/typo.php @@ -30,11 +30,10 @@ $dirs = glob('addon/*'); foreach($dirs as $dir) { - $files = glob($dir . '/*.php'); + $addon = basename($dir); + $files = glob($dir . '/' . $addon . '.php'); foreach($files as $file) { echo $file . "\n"; - if(stristr($file,'jappixmini/proxy.php')) - continue; include_once($file); } } -- cgit v1.2.3