aboutsummaryrefslogtreecommitdiffstats
path: root/util/typohelper.php
diff options
context:
space:
mode:
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);