summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2011-10-15 23:52:40 +0000
committerStanislav Malyshev <stas@php.net>2011-10-15 23:52:40 +0000
commit379ab5ec224579b5a3f193713b01bb12f98b912e (patch)
treeb6b745c874df948fe4c3aba27b4270a8e5b27ba1 /ext
parentfe92d64a4ad700082b1e805f381183884fb7dbe1 (diff)
downloadphp-git-379ab5ec224579b5a3f193713b01bb12f98b912e.tar.gz
fix openbasedir in test
Diffstat (limited to 'ext')
-rw-r--r--ext/session/tests/session_save_path_variation5.phpt3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/session/tests/session_save_path_variation5.phpt b/ext/session/tests/session_save_path_variation5.phpt
index ca6cb51c51..53e8f40767 100644
--- a/ext/session/tests/session_save_path_variation5.phpt
+++ b/ext/session/tests/session_save_path_variation5.phpt
@@ -6,7 +6,6 @@ if(substr(PHP_OS, 0, 3) == "WIN")
die("skip Not for Windows");
?>
--INI--
-open_basedir=.
session.save_handler=files
session.save_path=
session.name=PHPSESSID
@@ -14,7 +13,7 @@ session.name=PHPSESSID
<?php
ob_start();
-
+ini_set('open_basedir', __DIR__);
/*
* Prototype : string session_save_path([string $path])
* Description : Get and/or set the current session save path