aboutsummaryrefslogblamecommitdiffstats
path: root/util/typohelper.php
blob: 52c144ab701e5201c412d7a6075ec8fcfb44ed10 (plain) (tree)
1
2
3
4
5
     
                                 
                    
 







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