script.php

12 lines | 248 B Blame History Raw Download
<?php
error_reporting(0);
if ( $_REQUEST['header'] ) {
	if ( $_REQUEST['header'] == "ecma" ) {
		header("Content-type: application/ecmascript");
	} else {
		header("Content-type: text/javascript");
	}
}
?>
ok( true, "Script executed correctly." );