]> granicus.if.org Git - php/commitdiff
fix test
authorStanislav Malyshev <stas@php.net>
Tue, 6 Sep 2011 05:20:51 +0000 (05:20 +0000)
committerStanislav Malyshev <stas@php.net>
Tue, 6 Sep 2011 05:20:51 +0000 (05:20 +0000)
ext/mysql/tests/mysql_query_load_data_openbasedir.phpt

index ff62f4227ea43b81a0c60979e5d0a280a119099f..90849d1c8f156019fb57d708424c94b7167eb0fc 100644 (file)
@@ -25,11 +25,10 @@ if ($socket == "" && $host != NULL && $host != 'localhost' && $host != '.') {
        }
 }
 ?>
---INI--
-open_basedir="."
 --FILE--
 <?php
 @include_once("connect.inc");
+ini_set("open_basedir", __DIR__);
 if (!isset($db)) {
        // run-tests, I love you for not allowing me to set ini settings dynamically
        print "[006] [1148] The used command is not allowed with this MySQL version