Summary | Horde Groupware Webmail Edition 1.2.9 - prefs.php |
Queue | Horde Groupware Webmail Edition |
Queue Version | 1.2.8 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | anthony (at) lou (dot) heraut (dot) eu |
Created | 01/05/2011 (5354 days ago) |
Due | |
Updated | 01/05/2011 (5354 days ago) |
Assigned | |
Resolved | 01/05/2011 (5354 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
names of directories
the script can not read the path in question ... since it consists of
the name of the directory and the name of a css file (present in the
said directory)
sorry for my bad english
State ⇒ Not A Bug
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ Horde Groupware Webmail Edition 1.2.9 - prefs.php
Type ⇒ Bug
State ⇒ Unconfirmed
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')) {