- fixup tests
[m6w6/ext-http] / tests / send_file_005.phpt
index b5287a37ac609cbd7dbf2ed1f5c6529abd51c286..292df3c084178ac6e6f268124c7f3a5c484b36a1 100644 (file)
@@ -4,10 +4,12 @@ http_send_file() multiple ranges
 <?php 
 include 'skip.inc';
 checkcgi();
+checkmin(5);
 ?>
+--ENV--
+HTTP_RANGE=bytes=0-3, 4-5,9-11
 --FILE--
 <?php
-$_SERVER['HTTP_RANGE'] = 'bytes=0-3, 4-5,9-11';
 http_send_content_type('text/plain');
 http_send_file('data.txt');
 ?>