summaryrefslogblamecommitdiffstats
path: root/vendor/maxmind-db/reader/ext/tests/003-open-basedir.phpt
blob: 26e9781936b8a4c61a0a2d1b8b4c02d48e7dfea9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











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