From 97dc98453c04bbec7bb21408c920f058a2d498e0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 1 Apr 2014 13:41:45 +0000 Subject: [PATCH] Horde_iCalendar::newComponent(): include relative from current dir, as we no longer set (old) Horde dir in include path --- phpgwapi/inc/horde/Horde/iCalendar.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/horde/Horde/iCalendar.php b/phpgwapi/inc/horde/Horde/iCalendar.php index efd13629eb..6962bfeab8 100644 --- a/phpgwapi/inc/horde/Horde/iCalendar.php +++ b/phpgwapi/inc/horde/Horde/iCalendar.php @@ -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();