diff options
Diffstat (limited to 'test/data/script.php')
-rw-r--r-- | test/data/script.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/data/script.php b/test/data/script.php new file mode 100644 index 000000000..fb7110491 --- /dev/null +++ b/test/data/script.php @@ -0,0 +1,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." ); |