- fix some tests on linux
[m6w6/ext-http] / tests / redirect_002.phpt
index da77696ffe9155acdbd6bc67fdbb10a3c69ccd7f..d43e9adc76bea03a091720bb6d1a38111fb59c07 100644 (file)
@@ -5,8 +5,12 @@ http_redirect() with session
 include 'skip.inc';
 checkcgi();
 ?>
+--ENV--
+HTTP_HOST=localhost
 --FILE--
 <?php
+include 'log.inc';
+log_prepare(_REDIR_LOG);
 session_start();
 http_redirect('redirect', array('a' => 1), true);
 ?>