streams/util/typohelper.php
2021-12-03 14:01:39 +11:00

14 lines
271 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);