Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
166ec0575b | ||
|
|
215e749ba8 | ||
|
|
506cccd7c8 | ||
|
|
6d9014c29b |
@@ -697,7 +697,7 @@ opcache.validate_timestamps'),
|
|||||||
('system', 'distribution', ''),
|
('system', 'distribution', ''),
|
||||||
('system', 'update_channel', 'stable'),
|
('system', 'update_channel', 'stable'),
|
||||||
('system', 'updatecheck_data', ''),
|
('system', 'updatecheck_data', ''),
|
||||||
('system', 'update_notify_last', '2.0.23'),
|
('system', 'update_notify_last', '2.0.24'),
|
||||||
('system', 'traffictool', 'goaccess'),
|
('system', 'traffictool', 'goaccess'),
|
||||||
('system', 'req_limit_per_interval', 60),
|
('system', 'req_limit_per_interval', 60),
|
||||||
('system', 'req_limit_interval', 60),
|
('system', 'req_limit_interval', 60),
|
||||||
@@ -744,7 +744,7 @@ opcache.validate_timestamps'),
|
|||||||
('panel', 'logo_overridetheme', '0'),
|
('panel', 'logo_overridetheme', '0'),
|
||||||
('panel', 'logo_overridecustom', '0'),
|
('panel', 'logo_overridecustom', '0'),
|
||||||
('panel', 'settings_mode', '0'),
|
('panel', 'settings_mode', '0'),
|
||||||
('panel', 'version', '2.0.23'),
|
('panel', 'version', '2.0.24'),
|
||||||
('panel', 'db_version', '202304260');
|
('panel', 'db_version', '202304260');
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -512,3 +512,8 @@ if (Froxlor::isFroxlorVersion('2.0.22')) {
|
|||||||
Update::showUpdateStep("Updating from 2.0.22 to 2.0.23", false);
|
Update::showUpdateStep("Updating from 2.0.22 to 2.0.23", false);
|
||||||
Froxlor::updateToVersion('2.0.23');
|
Froxlor::updateToVersion('2.0.23');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Froxlor::isFroxlorVersion('2.0.23')) {
|
||||||
|
Update::showUpdateStep("Updating from 2.0.23 to 2.0.24", false);
|
||||||
|
Froxlor::updateToVersion('2.0.24');
|
||||||
|
}
|
||||||
|
|||||||
@@ -883,7 +883,7 @@ class Nginx extends HttpConfigBase
|
|||||||
// remove comments
|
// remove comments
|
||||||
$vhost = implode("\n", preg_replace('/^(\s+)?#(.*)$/', '', explode("\n", $vhost)));
|
$vhost = implode("\n", preg_replace('/^(\s+)?#(.*)$/', '', explode("\n", $vhost)));
|
||||||
// Break blocks into lines
|
// Break blocks into lines
|
||||||
$vhost = preg_replace("/^(\s+)location(.+)\{(.+)\}$/misU", "location $2 {\n $3 \n}", $vhost);
|
$vhost = preg_replace("/^(\s+)?location(.+)\{(.+)\}$/misU", "location $2 {\n $3 \n}", $vhost);
|
||||||
// Break into array items
|
// Break into array items
|
||||||
$vhost = explode("\n", preg_replace('/[ \t]+/', ' ', trim(preg_replace('/\t+/', '', $vhost))));
|
$vhost = explode("\n", preg_replace('/[ \t]+/', ' ', trim(preg_replace('/\t+/', '', $vhost))));
|
||||||
// Remove empty lines
|
// Remove empty lines
|
||||||
|
|||||||
@@ -151,9 +151,13 @@ class CurrentUser
|
|||||||
]);
|
]);
|
||||||
$addition = $result['emaildomains'] != 0;
|
$addition = $result['emaildomains'] != 0;
|
||||||
} elseif ($resource == 'subdomains') {
|
} elseif ($resource == 'subdomains') {
|
||||||
|
if (Settings::IsInList('panel.customer_hide_options', 'domains')) {
|
||||||
|
$addition = false;
|
||||||
|
} else {
|
||||||
$parentDomainCollection = (new Collection(SubDomains::class, $_SESSION['userinfo'],
|
$parentDomainCollection = (new Collection(SubDomains::class, $_SESSION['userinfo'],
|
||||||
['sql_search' => ['d.parentdomainid' => 0]]));
|
['sql_search' => ['d.parentdomainid' => 0]]));
|
||||||
$addition = $parentDomainCollection->count() != 0;
|
$addition = $parentDomainCollection->count() != 0;
|
||||||
|
}
|
||||||
} elseif ($resource == 'domains') {
|
} elseif ($resource == 'domains') {
|
||||||
$customerCollection = (new Collection(Customers::class, $_SESSION['userinfo']));
|
$customerCollection = (new Collection(Customers::class, $_SESSION['userinfo']));
|
||||||
$addition = $customerCollection != 0;
|
$addition = $customerCollection != 0;
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ final class Froxlor
|
|||||||
{
|
{
|
||||||
|
|
||||||
// Main version variable
|
// Main version variable
|
||||||
const VERSION = '2.0.23';
|
const VERSION = '2.0.24';
|
||||||
|
|
||||||
// Database version (YYYYMMDDC where C is a daily counter)
|
// Database version (YYYYMMDDC where C is a daily counter)
|
||||||
const DBVERSION = '202304260';
|
const DBVERSION = '202304260';
|
||||||
|
|||||||
2406
lng/ca.lng.php
Normal file
2406
lng/ca.lng.php
Normal file
File diff suppressed because it is too large
Load Diff
@@ -34,6 +34,7 @@ return [
|
|||||||
'pt' => 'Portuguese',
|
'pt' => 'Portuguese',
|
||||||
'se' => 'Swedish',
|
'se' => 'Swedish',
|
||||||
'es' => 'Spanish',
|
'es' => 'Spanish',
|
||||||
|
'ca' => 'Catalan',
|
||||||
],
|
],
|
||||||
'2fa' => [
|
'2fa' => [
|
||||||
'2fa' => '2FA options',
|
'2fa' => '2FA options',
|
||||||
|
|||||||
Reference in New Issue
Block a user