mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-24 08:26:55 +00:00
nextcloud: config files: do not compare against false
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
164d4fb997
commit
151b05ec01
3 changed files with 7 additions and 7 deletions
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
if (getenv('HTTP_PROXY') !== false) {
|
||||
if (getenv('HTTP_PROXY')) {
|
||||
$CONFIG['proxy'] = getenv('HTTP_PROXY');
|
||||
}
|
||||
if (getenv('HTTPS_PROXY') !== false) {
|
||||
if (getenv('HTTPS_PROXY')) {
|
||||
$CONFIG['proxy'] = getenv('HTTPS_PROXY');
|
||||
}
|
||||
if (getenv('PROXY_USER_PASSWORD') !== false) {
|
||||
if (getenv('PROXY_USER_PASSWORD')) {
|
||||
$CONFIG['proxyuserpwd'] = getenv('PROXY_USER_PASSWORD');
|
||||
}
|
||||
if (getenv('NO_PROXY') !== false) {
|
||||
if (getenv('NO_PROXY')) {
|
||||
$CONFIG['proxyexclude'] = explode(',', getenv('NO_PROXY'));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue