From: Hannes Magnusson Date: Tue, 9 Dec 2008 10:21:27 +0000 (+0000) Subject: MFB: Add test for runtime tightening of open_basedir X-Git-Tag: php-5.4.0alpha1~191^2~4859 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70bb87687d8924a13f56a2ab97aedae10571d31e;p=php MFB: Add test for runtime tightening of open_basedir --- diff --git a/ext/standard/tests/directory/open_basedir_001.phpt b/ext/standard/tests/directory/open_basedir_001.phpt new file mode 100644 index 0000000000..092eac27f0 --- /dev/null +++ b/ext/standard/tests/directory/open_basedir_001.phpt @@ -0,0 +1,17 @@ +--TEST-- +openbase_dir runtime tightning +--INI-- +open_basedir=/usr/local +--FILE-- + +--EXPECT-- +string(10) "/usr/local" +string(14) "/usr/local/bin" +bool(false) +string(14) "/usr/local/bin" +