cvs: php-src(PHP_4_4) /ext/session/tests bug36459.phpt
| From: | Antony Dovgal | Date: | Fri, 11 Aug 2006 10:35:05 +0000 |
| Subject: | cvs: php-src(PHP_4_4) /ext/session/tests bug36459.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-39907@lists.php.net to get a copy of this message | ||
tony2001 Fri Aug 11 10:35:05 2006 UTC
Modified files: (Branch: PHP_4_4)
/php-src/ext/session/tests bug36459.phpt
Log:
fix test
http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/bug36459.phpt?r1=1.2.2.2&r2=1.2.2.3&diff_format=u
Index: php-src/ext/session/tests/bug36459.phpt
diff -u php-src/ext/session/tests/bug36459.phpt:1.2.2.2
php-src/ext/session/tests/bug36459.phpt:1.2.2.3
--- php-src/ext/session/tests/bug36459.phpt:1.2.2.2 Tue Feb 28 14:47:15 2006
+++ php-src/ext/session/tests/bug36459.phpt Fri Aug 11 10:35:04 2006
@@ -2,14 +2,14 @@
bug #31454 (Incorrect adding PHPSESSID to links, which contains \r\n)
--SKIPIF--
<?php include('skipif.inc'); ?>
+--INI--
+session.use_trans_sid=1
+session.use_cookies=0
+session.name=sid
--FILE--
<?php
error_reporting(E_ALL);
-ini_set('session.use_trans_sid', 1);
-ini_set('session.use_cookies', 0);
-ini_set('session.name', 'sid');
-
session_start();
# Do not remove \r from this tests, they are essential!