aboutsummaryrefslogtreecommitdiffstats
path: root/util/typo.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-05 19:28:04 -0700
committerfriendica <info@friendica.com>2012-06-05 19:28:04 -0700
commit5389efffa9c8d2da40bf6ea448562ae67538e0d4 (patch)
tree231aff8915a99e3f2098ccd28b095077088a70e0 /util/typo.php
parentae08d2c49b042780d87e17b73d8bb7c4b99263da (diff)
downloadvolse-hubzilla-5389efffa9c8d2da40bf6ea448562ae67538e0d4.tar.gz
volse-hubzilla-5389efffa9c8d2da40bf6ea448562ae67538e0d4.tar.bz2
volse-hubzilla-5389efffa9c8d2da40bf6ea448562ae67538e0d4.zip
add email probe logging, limit typo check to main addon files and skip additional support files
Diffstat (limited to 'util/typo.php')
-rw-r--r--util/typo.php5
1 files changed, 2 insertions, 3 deletions
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);
}
}