aboutsummaryrefslogtreecommitdiffstats
path: root/util/typohelper.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-03-29 14:12:50 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-03-29 14:12:50 +0200
commite2b975065c2f55a4e3c3798b4c36df44e112fdd0 (patch)
tree6cf84e4b5ce1773918cfa0e9de5bc6aa7eb516b3 /util/typohelper.php
parent2a23147042f568c2b6957b81355c0123033f1854 (diff)
parent920396e4024e56c3e00f1f159268c2aba16e4609 (diff)
downloadvolse-hubzilla-e2b975065c2f55a4e3c3798b4c36df44e112fdd0.tar.gz
volse-hubzilla-e2b975065c2f55a4e3c3798b4c36df44e112fdd0.tar.bz2
volse-hubzilla-e2b975065c2f55a4e3c3798b4c36df44e112fdd0.zip
Merge remote-tracking branch 'friendika-master/master'
Diffstat (limited to 'util/typohelper.php')
-rw-r--r--util/typohelper.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/util/typohelper.php b/util/typohelper.php
new file mode 100644
index 000000000..589702a02
--- /dev/null
+++ b/util/typohelper.php
@@ -0,0 +1,11 @@
+<?php
+
+$str = <<< EOT
+ error_reporting(E_ERROR | E_WARNING | E_PARSE );
+ ini_set('display_errors', '1');
+ ini_set('log_errors','0');
+EOT;
+
+ $str .= str_replace('<?php', '', file_get_contents($argv[1]));
+
+ eval($str);