mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
Small Bugfix for the call of the setup-cli.php script. When checking the enviroment as command-line call DOCUMENT_ROOT is not set. The empty string
results in an error stating, that the path provided for tmp/file/backup is in DOC_ROOT. This is fixed now.
This commit is contained in:
parent
1079197f7d
commit
dbb52a6231
@ -83,7 +83,7 @@
|
||||
{
|
||||
$len = strlen($docroot);
|
||||
|
||||
if ($docroot == substr($dir,0,$len))
|
||||
if ($docroot == substr($dir,0,$len) && $len>0)
|
||||
{
|
||||
$rest = substr($dir,$len);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user