stas                                     Sat, 15 Oct 2011 23:52:40 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=318135

Log:
fix openbasedir in test

Changed paths:
    U   
php/php-src/branches/PHP_5_4/ext/session/tests/session_save_path_variation5.phpt
    U   php/php-src/trunk/ext/session/tests/session_save_path_variation5.phpt

Modified: 
php/php-src/branches/PHP_5_4/ext/session/tests/session_save_path_variation5.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_4/ext/session/tests/session_save_path_variation5.phpt
    2011-10-15 18:05:00 UTC (rev 318134)
+++ 
php/php-src/branches/PHP_5_4/ext/session/tests/session_save_path_variation5.phpt
    2011-10-15 23:52:40 UTC (rev 318135)
@@ -6,7 +6,6 @@
        die("skip Not for Windows");
 ?>
 --INI--
-open_basedir=.
 session.save_handler=files
 session.save_path=
 session.name=PHPSESSID
@@ -14,7 +13,7 @@
 <?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

Modified: php/php-src/trunk/ext/session/tests/session_save_path_variation5.phpt
===================================================================
--- php/php-src/trunk/ext/session/tests/session_save_path_variation5.phpt       
2011-10-15 18:05:00 UTC (rev 318134)
+++ php/php-src/trunk/ext/session/tests/session_save_path_variation5.phpt       
2011-10-15 23:52:40 UTC (rev 318135)
@@ -6,7 +6,6 @@
        die("skip Not for Windows");
 ?>
 --INI--
-open_basedir=.
 session.save_handler=files
 session.save_path=
 session.name=PHPSESSID
@@ -14,7 +13,7 @@
 <?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

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to