mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 07:28:43 +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);
|
$len = strlen($docroot);
|
||||||
|
|
||||||
if ($docroot == substr($path,0,$len))
|
if ($docroot && $docroot == substr($path,0,$len))
|
||||||
{
|
{
|
||||||
$rest = substr($path,$len);
|
$rest = substr($path,$len);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user