[Tickets #9494] Horde Groupware Webmail Edition 1.2.9 - prefs.php

bugs at horde.org bugs at horde.org
Wed Jan 5 16:40:22 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9494
------------------------------------------------------------------------------
  Ticket             | 9494
  Created By         | anthony at lou.heraut.eu
  Résumé             | Horde Groupware Webmail Edition 1.2.9 - prefs.php
  Queue              | Horde Groupware Webmail Edition
  Version            | 1.2.8
  Type               | Bug
  État               | Unconfirmed
  Priorité           | 1. Low
  Milestone          |
  Patch              |
  Propriétaire       |
------------------------------------------------------------------------------


anthony at lou.heraut.eu (2011-01-05 11:40) wrote:

Horde Groupware Webmail Edition 1.2.9

File /lib/prefs.php
Lines 166-168
______________________________________________________
if (is_readable($theme_base . '/' . $dir . '/info.php')) {
                 include $theme_base . '/' . $dir . '/info.php';
             }
______________________________________________________

Errors php (with  open_basedir restriction ) :

______________________________________________________

[Wed Jan 05 17:24:03 2011] [error] [client ***] PHP Warning:   
is_readable(): open_basedir restriction in effect.  
File(/folder_path/config/../themes/embed.css/info.php) is not within  
the allowed path(s): (***) in ***/lib/prefs.php on line 166
[Wed Jan 05 17:24:03 2011] [error] [client ***] PHP Warning:   
is_readable(): open_basedir restriction in effect.  
File(/folder_path/webmail/config/../themes/rtl.css/info.php) is not  
within the allowed path(s): (***) in ***/lib/prefs.php on line 166

The "themes" directory contains css files
______________________________________________________

SOLUTION :
replace :
line 166 if (is_readable($theme_base . '/' . $dir . '/info.php')) {
by
line 166 if (@is_readable($theme_base . '/' . $dir . '/info.php')) {






More information about the bugs mailing list