mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
rename ENABLE_NVIDIA_GPU to NEXTCLOUD_ENABLE_NVIDIA_GPU
to be more consistent with other options Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
2aad2c8b4c
commit
febfd57448
4 changed files with 5 additions and 4 deletions
|
|
@ -989,7 +989,7 @@ class ConfigurationManager
|
|||
}
|
||||
|
||||
private function GetEnabledNvidiaGpu() : string {
|
||||
$envVariableName = 'ENABLE_NVIDIA_GPU';
|
||||
$envVariableName = 'NEXTCLOUD_ENABLE_NVIDIA_GPU';
|
||||
$configName = 'enable_nvidia_gpu';
|
||||
$defaultValue = '';
|
||||
return $this->GetEnvironmentalVariableOrConfig($envVariableName, $configName, $defaultValue);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue