aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/script.php
blob: fb7110491fe24853d9c2fdf47e1c89fb07ca3747 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?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." );