woocommerce/vendor/maxmind-db/reader/ext/tests/003-open-basedir.phpt
2021-12-10 12:03:04 +00:00

13 lines
226 B
PHP

--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.*