From 4bb00f147509515661fe64069732e104421b5e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20St=C3=B6ckel?= Date: Fri, 9 Sep 2011 11:41:14 +0000 Subject: [PATCH] Fixed problems with include manager. Includes like 'phpgwapi.jquery.jquery.ui' do now work. --- phpgwapi/inc/class.egw_include_mgr.inc.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_include_mgr.inc.php b/phpgwapi/inc/class.egw_include_mgr.inc.php index 520f2e59e8..477e7b5f5b 100644 --- a/phpgwapi/inc/class.egw_include_mgr.inc.php +++ b/phpgwapi/inc/class.egw_include_mgr.inc.php @@ -136,7 +136,11 @@ class egw_include_mgr // an absolute path (initialized by "/"). if ($mod[0] != '/') { - $mod = explode(".", $mod); + $mod = explode(".", $mod, 3); + } + else + { + $mod = array($mod); } $empty = false;