aboutsummaryrefslogtreecommitdiffstats
path: root/util/typo.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-09-29 18:11:23 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-09-29 18:11:23 -0700
commite25e40f1ef4e1ad703c55b13069461ee0d712eae (patch)
tree41966307ee765db01b6ecebcff447329605a6fe5 /util/typo.php
parent8ba3737b3b7284c9b7cf40028240ebf89daad1d7 (diff)
downloadvolse-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.php17
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);