mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-04 04:56:52 +00:00
Camelize property nextcloud_upload_limit => nextcloudUploadLimit
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
parent
49e38961d3
commit
ed8d66dae2
2 changed files with 4 additions and 4 deletions
|
|
@ -129,7 +129,7 @@ $app->get('/containers', function (Request $request, Response $response, array $
|
|||
'additional_backup_directories' => $configurationManager->GetAdditionalBackupDirectoriesString(),
|
||||
'nextcloud_datadir' => $configurationManager->nextcloudDatadirMount,
|
||||
'nextcloud_mount' => $configurationManager->nextcloudMount,
|
||||
'nextcloud_upload_limit' => $configurationManager->nextcloud_upload_limit,
|
||||
'nextcloud_upload_limit' => $configurationManager->nextcloudUploadLimit,
|
||||
'nextcloud_max_time' => $configurationManager->nextcloudMaxTime,
|
||||
'nextcloud_memory_limit' => $configurationManager->nextcloud_memory_limit,
|
||||
'is_dri_device_enabled' => $configurationManager->isDriDeviceEnabled(),
|
||||
|
|
|
|||
|
|
@ -637,7 +637,7 @@ class ConfigurationManager
|
|||
set { $this->set('nextcloud_datadir_mount', $value); }
|
||||
}
|
||||
|
||||
public string $nextcloud_upload_limit {
|
||||
public string $nextcloudUploadLimit {
|
||||
get => $this->GetEnvironmentalVariableOrConfig('NEXTCLOUD_UPLOAD_LIMIT', 'nextcloud_upload_limit', '16G');
|
||||
set { $this->set('nextcloud_upload_limit', $value); }
|
||||
}
|
||||
|
|
@ -648,7 +648,7 @@ class ConfigurationManager
|
|||
}
|
||||
|
||||
public function GetApacheMaxSize() : int {
|
||||
$uploadLimit = (int)rtrim($this->nextcloud_upload_limit, 'G');
|
||||
$uploadLimit = (int)rtrim($this->nextcloudUploadLimit, 'G');
|
||||
return $uploadLimit * 1024 * 1024 * 1024;
|
||||
}
|
||||
|
||||
|
|
@ -1074,7 +1074,7 @@ class ConfigurationManager
|
|||
'IMAGINARY_ENABLED' => $this->isImaginaryEnabled ? 'yes' : '',
|
||||
'FULLTEXTSEARCH_ENABLED' => $this->isFulltextsearchEnabled ? 'yes' : '',
|
||||
'DOCKER_SOCKET_PROXY_ENABLED' => $this->isDockerSocketProxyEnabled ? 'yes' : '',
|
||||
'NEXTCLOUD_UPLOAD_LIMIT' => $this->nextcloud_upload_limit,
|
||||
'NEXTCLOUD_UPLOAD_LIMIT' => $this->nextcloudUploadLimit,
|
||||
'NEXTCLOUD_MEMORY_LIMIT' => $this->nextcloud_memory_limit,
|
||||
'NEXTCLOUD_MAX_TIME' => $this->nextcloudMaxTime,
|
||||
'BORG_RETENTION_POLICY' => $this->GetBorgRetentionPolicy(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue