streams/util/typohelper.php
2016-04-01 01:04:37 -07:00

14 lines
260 B
PHP

<?php
require_once('boot.php');
App::init();
$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);