add few tools
This commit is contained in:
12
.hta_lib/maxmind-db-reader/ext/tests/003-open-basedir.phpt
Normal file
12
.hta_lib/maxmind-db-reader/ext/tests/003-open-basedir.phpt
Normal file
@@ -0,0 +1,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.*
|
||||
Reference in New Issue
Block a user