1
0
Fork 0

added comments, make typo checker work with redefined plural string functions

This commit is contained in:
Friendika 2011-03-28 17:24:11 -07:00
commit 00b5f6f8a1
3 changed files with 59 additions and 3 deletions

11
util/typohelper.php Normal file
View file

@ -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);