summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/session/tests/bug36459.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/session/tests/bug36459.phpt b/ext/session/tests/bug36459.phpt
index 30c94f81d9..5d74b3bc4b 100644
--- a/ext/session/tests/bug36459.phpt
+++ b/ext/session/tests/bug36459.phpt
@@ -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!