mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
fix windows host access correctly
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
82dd888109
commit
cb24213a31
5 changed files with 31 additions and 7 deletions
|
|
@ -289,6 +289,8 @@ class ConfigurationManager
|
|||
$isValidPath = false;
|
||||
if (str_starts_with($location, '/') && !str_ends_with($location, '/')) {
|
||||
$isValidPath = true;
|
||||
} elseif ($location === 'nextcloud_aio_backupdir') {
|
||||
$isValidPath = true;
|
||||
}
|
||||
|
||||
if (!$isValidPath) {
|
||||
|
|
@ -312,6 +314,8 @@ class ConfigurationManager
|
|||
$isValidPath = false;
|
||||
if (str_starts_with($location, '/') && !str_ends_with($location, '/')) {
|
||||
$isValidPath = true;
|
||||
} elseif ($location === 'nextcloud_aio_backupdir') {
|
||||
$isValidPath = true;
|
||||
}
|
||||
|
||||
if (!$isValidPath) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue