mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Horde_iCalendar::newComponent(): include relative from current dir, as we no longer set (old) Horde dir in include path
This commit is contained in:
parent
71b97568e5
commit
97dc98453c
@ -82,7 +82,8 @@ class Horde_iCalendar {
|
||||
$type = String::lower($type);
|
||||
$class = 'Horde_iCalendar_' . $type;
|
||||
if (!class_exists($class)) {
|
||||
include 'Horde/iCalendar/' . $type . '.php';
|
||||
// include relative from current dir, as we no longer set (old) Horde dir in include path
|
||||
include 'iCalendar/' . $type . '.php';
|
||||
}
|
||||
if (class_exists($class)) {
|
||||
$component = new $class();
|
||||
|
Loading…
Reference in New Issue
Block a user