diff options
author | Christian Cleberg <hello@cleberg.net> | 2023-05-24 21:18:39 -0500 |
---|---|---|
committer | Christian Cleberg <hello@cleberg.net> | 2023-05-24 21:18:39 -0500 |
commit | b3286eb015079950554508e0724fd5f12c71833f (patch) | |
tree | 8ac93accb2465c0b3dc34e78686beeac879eaf68 /vendor/maxmind-db/reader/ext/tests/003-open-basedir.phpt | |
parent | 864f1349e47f924bcde20c1cc83d838b5c5c7316 (diff) | |
download | ifconfig.php-b3286eb015079950554508e0724fd5f12c71833f.tar.gz ifconfig.php-b3286eb015079950554508e0724fd5f12c71833f.tar.bz2 ifconfig.php-b3286eb015079950554508e0724fd5f12c71833f.zip |
add geolocation functionality
Diffstat (limited to 'vendor/maxmind-db/reader/ext/tests/003-open-basedir.phpt')
-rw-r--r-- | vendor/maxmind-db/reader/ext/tests/003-open-basedir.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/maxmind-db/reader/ext/tests/003-open-basedir.phpt b/vendor/maxmind-db/reader/ext/tests/003-open-basedir.phpt new file mode 100644 index 0000000..26e9781 --- /dev/null +++ b/vendor/maxmind-db/reader/ext/tests/003-open-basedir.phpt @@ -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.* |