forked from extern/egroupware
fix for not set $_SERVER['DOCUMENT_ROOT'] if run by the async-service, eg. calendar alarms
This commit is contained in:
parent
6eff641297
commit
119fb13409
@ -149,7 +149,7 @@
|
||||
{
|
||||
$len = strlen($docroot);
|
||||
|
||||
if ($docroot == substr($path,0,$len))
|
||||
if ($docroot && $docroot == substr($path,0,$len))
|
||||
{
|
||||
$rest = substr($path,$len);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user