- fix some tests on linux
[m6w6/ext-http] / tests / redirect_001.phpt
index 9180619587d976a4a4946d4cb97c8c2eeb70ad57..d4e7bbd7a778e8bb5ac83fbba9039c6e3bfacef9 100644 (file)
@@ -3,9 +3,14 @@ http_redirect() with params
 --SKIPIF--
 <?php 
 include 'skip.inc';
 --SKIPIF--
 <?php 
 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--