mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
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