mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +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