diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-09-29 18:11:23 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-09-29 18:11:23 -0700 |
commit | e25e40f1ef4e1ad703c55b13069461ee0d712eae (patch) | |
tree | 41966307ee765db01b6ecebcff447329605a6fe5 /util/typo.php | |
parent | 8ba3737b3b7284c9b7cf40028240ebf89daad1d7 (diff) | |
download | volse-hubzilla-e25e40f1ef4e1ad703c55b13069461ee0d712eae.tar.gz volse-hubzilla-e25e40f1ef4e1ad703c55b13069461ee0d712eae.tar.bz2 volse-hubzilla-e25e40f1ef4e1ad703c55b13069461ee0d712eae.zip |
i18n string extraction util
Diffstat (limited to 'util/typo.php')
-rw-r--r-- | util/typo.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/util/typo.php b/util/typo.php new file mode 100644 index 000000000..e3141a46e --- /dev/null +++ b/util/typo.php @@ -0,0 +1,17 @@ +<?php + // Tired of chasing typos and finding them after a commit. + // Run this from cmdline in basedir and quickly see if we've + // got any parse errors in our application files. + + include 'boot.php'; + + $a = new App(); + + $files = glob('mod/*.php'); + foreach($files as $file) + include_once($file); + + + $files = glob('include/*.php'); + foreach($files as $file) + include_once($file); |