forked from extern/egroupware
fix to work with path containing a query
This commit is contained in:
parent
7b89481b76
commit
750f80b23b
@ -263,7 +263,7 @@ class egw_include_mgr
|
|||||||
*/
|
*/
|
||||||
private function translate_params($package, $file, $app)
|
private function translate_params($package, $file, $app)
|
||||||
{
|
{
|
||||||
if ($package[0] == '/' && is_readable(EGW_SERVER_ROOT.($path = $package)) ||
|
if ($package[0] == '/' && is_readable(EGW_SERVER_ROOT.(parse_url($path = $package, PHP_URL_PATH))) ||
|
||||||
is_readable(EGW_SERVER_ROOT.($path="/$app/js/$package/$file.js")) ||
|
is_readable(EGW_SERVER_ROOT.($path="/$app/js/$package/$file.js")) ||
|
||||||
$app != 'phpgwapi' && is_readable(EGW_SERVER_ROOT.($path="/phpgwapi/js/$package/$file.js")))
|
$app != 'phpgwapi' && is_readable(EGW_SERVER_ROOT.($path="/phpgwapi/js/$package/$file.js")))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user