php.net documentation disagrees, see:

http://uk2.php.net/manual/en/ini.core.php#ini.open-basedir

specifically:

"The restriction specified with open_basedir is actually a prefix, not a
directory name. This means that "open_basedir = /dir/incl" also allows
access to "/dir/include" and "/dir/incls" if they exist. When you want
to restrict access to only the specified directory, end with a slash.
For example: open_basedir = /dir/incl/"

Using '/usr/share/gallery2' in open_basedir means that it would also
include '/usr/share/gallery2-old' in access, which is almost certainly
incorrect.  Using '/usr/share/gallery2/' would be correct.

-- 
- Athanasius = Athanasius(at)miggy.org / http://www.miggy.org/
                  Finger athan(at)fysh.org for PGP key
           "And it's me who is my enemy. Me who beats me up.
Me who makes the monsters. Me who strips my confidence." Paula Cole - ME

Attachment: signature.asc
Description: Digital signature

Reply via email to