Fixed problems with include manager. Includes like 'phpgwapi.jquery.jquery.ui' do now work.

This commit is contained in:
Andreas Stöckel 2011-09-09 11:41:14 +00:00
parent 58bc3367df
commit 4bb00f1475

View File

@ -136,7 +136,11 @@ class egw_include_mgr
// an absolute path (initialized by "/"). // an absolute path (initialized by "/").
if ($mod[0] != '/') if ($mod[0] != '/')
{ {
$mod = explode(".", $mod); $mod = explode(".", $mod, 3);
}
else
{
$mod = array($mod);
} }
$empty = false; $empty = false;