mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-06 05:47:57 +00:00
Camelize property apache_port => apachePort
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
parent
00ce78d703
commit
567f072ee0
3 changed files with 7 additions and 7 deletions
|
|
@ -381,7 +381,7 @@ class ConfigurationManager
|
|||
}
|
||||
|
||||
// Get the apache port
|
||||
$port = $this->apache_port;
|
||||
$port = $this->apachePort;
|
||||
|
||||
if (!filter_var($dnsRecordIP, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)) {
|
||||
if ($port === '443') {
|
||||
|
|
@ -568,7 +568,7 @@ class ConfigurationManager
|
|||
$this->set('password', $newPassword);
|
||||
}
|
||||
|
||||
public string $apache_port {
|
||||
public string $apachePort {
|
||||
get => $this->GetEnvironmentalVariableOrConfig('APACHE_PORT', 'apache_port', '443');
|
||||
set { $this->set('apache_port', $value); }
|
||||
}
|
||||
|
|
@ -1057,7 +1057,7 @@ class ConfigurationManager
|
|||
'AIO_URL' => $this->aioUrl,
|
||||
'SELECTED_RESTORE_TIME' => $this->selectedRestoreTime,
|
||||
'RESTORE_EXCLUDE_PREVIEWS' => $this->restoreExcludePreviews ? '1' : '',
|
||||
'APACHE_PORT' => $this->apache_port,
|
||||
'APACHE_PORT' => $this->apachePort,
|
||||
'APACHE_IP_BINDING' => $this->apacheIpBinding,
|
||||
'TALK_PORT' => $this->talk_port,
|
||||
'TURN_DOMAIN' => $this->turnDomain,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue