"fixed wrong path buildng (missing slash)"

This commit is contained in:
Ralf Becker 2009-10-12 09:46:36 +00:00
parent 756ecd2b18
commit 624cf172e8

View File

@ -226,6 +226,7 @@
{
$browser_folder = '.';
}
//echo "<p>".__METHOD__."($package,$file,$app,$browser) --> ".EGW_INCLUDE_ROOT ."/$app/js/$package/$browser_folder/$file.js</p>\n";
if ($this->included_files[$app][$package][$file]) return true;
@ -246,7 +247,7 @@
$this->files['phpgwapi'][$package][$file] = $browser_folder;
return True;
}
elseif(is_readable(EGW_INCLUDE_ROOT ."phpgwapi/js/$package/$file.js"))
elseif(is_readable(EGW_INCLUDE_ROOT ."/phpgwapi/js/$package/$file.js"))
{
$this->files['phpgwapi'][$package][$file] = '.';
return True;