aboutsummaryrefslogtreecommitdiffstats
path: root/util/typohelper.php
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2011-03-29 18:00:19 +0200
committerfabrixxm <fabrix.xm@gmail.com>2011-03-29 18:00:19 +0200
commit6631bc64d342a90c1ddc1094bf926957e82fbb56 (patch)
tree6cf84e4b5ce1773918cfa0e9de5bc6aa7eb516b3 /util/typohelper.php
parent2a23147042f568c2b6957b81355c0123033f1854 (diff)
parent920396e4024e56c3e00f1f159268c2aba16e4609 (diff)
downloadvolse-hubzilla-6631bc64d342a90c1ddc1094bf926957e82fbb56.tar.gz
volse-hubzilla-6631bc64d342a90c1ddc1094bf926957e82fbb56.tar.bz2
volse-hubzilla-6631bc64d342a90c1ddc1094bf926957e82fbb56.zip
Merge remote-tracking branch 'friendika/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);