mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-05 13:27:57 +00:00
Camelize property nextcloud_datadir_mount => nextcloudDatadirMount
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
parent
f35a0b4367
commit
f5cf7903ad
3 changed files with 5 additions and 5 deletions
|
|
@ -487,8 +487,8 @@ class ConfigurationManager
|
|||
|
||||
// Prevent backup to be contained in Nextcloud Datadir as this will delete the backup archive upon restore
|
||||
// See https://github.com/nextcloud/all-in-one/issues/6607
|
||||
if (str_starts_with($location . '/', rtrim($this->nextcloud_datadir_mount, '/') . '/')) {
|
||||
throw new InvalidSettingConfigurationException("The path must not be a children of or equal to NEXTCLOUD_DATADIR, which is currently set to " . $this->nextcloud_datadir_mount);
|
||||
if (str_starts_with($location . '/', rtrim($this->nextcloudDatadirMount, '/') . '/')) {
|
||||
throw new InvalidSettingConfigurationException("The path must not be a children of or equal to NEXTCLOUD_DATADIR, which is currently set to " . $this->nextcloudDatadirMount);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
|
@ -632,7 +632,7 @@ class ConfigurationManager
|
|||
}
|
||||
|
||||
|
||||
public string $nextcloud_datadir_mount {
|
||||
public string $nextcloudDatadirMount {
|
||||
get => $this->GetEnvironmentalVariableOrConfig('NEXTCLOUD_DATADIR', 'nextcloud_datadir', 'nextcloud_aio_nextcloud_data');
|
||||
set { $this->set('nextcloud_datadir_mount', $value); }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue