summaryrefslogtreecommitdiff
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
commit1551cc62dba413ac8f1ea3de3b9f0a5537881598 (patch)
treea6b8f7deed4ae3a4679e423b70b3cd4913d5fb82
parenta1de339e17cd1c9de504592ada9a7ffd21a4e447 (diff)
downloadphp-git-1551cc62dba413ac8f1ea3de3b9f0a5537881598.tar.gz
fix openbasedir in test
-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