2010-01-06 16:19:38 +01:00
|
|
|
<?php
|
|
|
|
error_reporting(0);
|
|
|
|
if ( $_REQUEST['header'] ) {
|
2011-01-31 19:14:06 +01:00
|
|
|
if ( $_REQUEST['header'] == "ecma" ) {
|
|
|
|
header("Content-type: application/ecmascript");
|
|
|
|
} else {
|
|
|
|
header("Content-type: text/javascript");
|
|
|
|
}
|
2010-01-06 16:19:38 +01:00
|
|
|
}
|
|
|
|
?>
|
|
|
|
ok( true, "Script executed correctly." );
|