- tests fixup
[m6w6/ext-http] / tests / redirect_002.phpt
index 9696d1215ccdbcd8d192e7b549b9993dcf5ce2d0..e577810b05f5c5d080d778fd6404da74cb043922 100644 (file)
@@ -3,9 +3,15 @@ http_redirect() with session
 --SKIPIF--
 <?php 
 include 'skip.inc';
+checkcgi();
+checkext('session');
 ?>
+--ENV--
+HTTP_HOST=localhost
 --FILE--
 <?php
+include 'log.inc';
+log_prepare(_REDIR_LOG);
 session_start();
 http_redirect('redirect', array('a' => 1), true);
 ?>