mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
added support for PHP running as (F)CGI (uses ORIG_PATH_INFO instead of PATH_INFO)
This commit is contained in:
parent
61812f4dc5
commit
c1d7256972
@ -33,7 +33,7 @@ function check_access(&$account)
|
||||
}
|
||||
|
||||
// if we are called with a /apps/$app path, use that $app as currentapp, to not require filemanager rights for the links
|
||||
$parts = explode('/',$_SERVER['PATH_INFO']);
|
||||
$parts = explode('/',isset($_SERVER['PATH_INFO']) ? $_SERVER['PATH_INFO'] : $_SERVER['ORIG_PATH_INFO']);
|
||||
//error_log("webdav: explode".print_r($parts,true));
|
||||
if(count($parts) == 1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user