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

13 lines
226 B
Plaintext
Raw Normal View History

2022-12-19 19:49:52 +08: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.*