mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +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
3adaa7a695
commit
319f1ee907
@ -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