]> granicus.if.org Git - php/commitdiff
fix openbasedir in test
authorStanislav Malyshev <stas@php.net>
Sat, 15 Oct 2011 23:52:40 +0000 (23:52 +0000)
committerStanislav Malyshev <stas@php.net>
Sat, 15 Oct 2011 23:52:40 +0000 (23:52 +0000)
ext/session/tests/session_save_path_variation5.phpt

index ca6cb51c51f2d83809379f9ed66750d504092c0c..53e8f40767598c5ecf85ad2804cab01c8559d1c8 100644 (file)
@@ -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