[RCD] 0.9.1: is_readable() open_basedir restriction

Reindl Harald h.reindl at thelounge.net
Wed May 22 00:28:50 CEST 2013


please change this to @is_readable() and it works with E_ALL

"/usr/local/etc/httpd/conf/mime.types" does not exist on any normal system
"/usr/share/misc" is in open_basedir because "/usr/share/misc/magic"

open_basedir to /etc for "/etc/mime.types" is a no-go
__________________________

[21-May-2013 20:05:35 Europe/Vienna] PHP Warning:  is_readable() [<a
href='http://at.php.net/manual/de/function.is-readable.php'>function.is-readable.php</a>]: open_basedir restriction
in effect. File(/usr/local/etc/httpd/conf/mime.types) is not within the allowed path(s):
(/usr/share/roundcubemail:/etc/roundcubemail:/var/log/roundcubemail:/usr/share/misc:/usr/share/pear:/tmp:/var/www/uploadtemp)
in /usr/share/roundcubemail/program/lib/Roundcube/rcube_mime.php on line 798

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.roundcube.net/pipermail/dev/attachments/20130522/5051b5d4/attachment.sig>


More information about the dev mailing list