- fix some tests on linux
[m6w6/ext-http] / tests / redirect_001.phpt
index de6795f649e972470e30694f9dd86b38ea459a14..d4e7bbd7a778e8bb5ac83fbba9039c6e3bfacef9 100644 (file)
@@ -5,8 +5,12 @@ http_redirect() with params
 include 'skip.inc';
 checkcgi();
 ?>
 include 'skip.inc';
 checkcgi();
 ?>
+--ENV--
+HTTP_HOST=localhost
 --FILE--
 <?php
 --FILE--
 <?php
+include 'log.inc';
+log_prepare(_REDIR_LOG);
 http_redirect('redirect', array('a' => 1, 'b' => 2));
 ?>
 --EXPECTF--
 http_redirect('redirect', array('a' => 1, 'b' => 2));
 ?>
 --EXPECTF--