File: 003-open-basedir.phpt

package info (click to toggle)
php-maxminddb 1.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 148 kB
  • sloc: ansic: 684; xml: 54; makefile: 4
file content (12 lines) | stat: -rw-r--r-- 226 bytes parent folder | download | duplicates (3)
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.*