mirror of
https://github.com/php/pecl-database-dbase.git
synced 2026-04-26 08:38:03 +02:00
55f9cdc270
git-svn-id: http://svn.php.net/repository/pecl/dbase/trunk@340833 c90b9560-bf6c-de11-be94-00142212c4b1
18 lines
405 B
PHP
18 lines
405 B
PHP
--TEST--
|
|
dbase_create(): open_basedir restriction
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('dbase')) die('skip dbase extension not available');
|
|
?>
|
|
--INI--
|
|
open_basedir=.
|
|
--FILE--
|
|
<?php
|
|
var_dump(dbase_create('../bad', array()));
|
|
?>
|
|
===DONE===
|
|
--EXPECTF--
|
|
Warning: dbase_create(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
|
|
bool(false)
|
|
===DONE===
|