woocommerce/vendor/maxmind-db/reader/ext/tests/003-open-basedir.phpt

13 lines
226 B
Plaintext
Raw Normal View History

2021-12-10 12:03:04 +00:00
--TEST--
openbase_dir is followed
--INI--
open_basedir=/--dne--
--FILE--
<?php
use MaxMind\Db\Reader;
$reader = new Reader('/usr/local/share/GeoIP/GeoIP2-City.mmdb');
?>
--EXPECTREGEX--
.*open_basedir restriction in effect.*