- fix usage of request time
[m6w6/ext-http] / tests / etag_mode_012.phpt
index 57c887259111cf662d616dc29df821637557e265..1e4d779f6c67699db7fc1d54b13ee0e8ae5b2ee5 100644 (file)
@@ -4,11 +4,11 @@ ob sha1 etag
 <?php
 include 'skip.inc';
 checkcgi();
-skipif(!http_support(HTTP_SUPPORT_MHASHETAGS), 'need mhash support');
+checkmax(5.0);
 ?>
 --FILE--
 <?php
-ini_set('http.etag_mode', HTTP_ETAG_SHA1);
+ini_set('http.etag.mode', 'sha1');
 http_cache_etag();
 print("abc\n");
 ?>