Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5661d492d | ||
|
|
6900898ae1 | ||
|
|
d90fb7fa68 | ||
|
|
4ea8629fcc | ||
|
|
9d4ff8698d |
@@ -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.16'),
|
('system', 'update_notify_last', '2.0.19'),
|
||||||
('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.16'),
|
('panel', 'version', '2.0.19'),
|
||||||
('panel', 'db_version', '202304260');
|
('panel', 'db_version', '202304260');
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -477,3 +477,18 @@ if (Froxlor::isFroxlorVersion('2.0.15')) {
|
|||||||
Update::showUpdateStep("Updating from 2.0.15 to 2.0.16", false);
|
Update::showUpdateStep("Updating from 2.0.15 to 2.0.16", false);
|
||||||
Froxlor::updateToVersion('2.0.16');
|
Froxlor::updateToVersion('2.0.16');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Froxlor::isFroxlorVersion('2.0.16')) {
|
||||||
|
Update::showUpdateStep("Updating from 2.0.16 to 2.0.17", false);
|
||||||
|
Froxlor::updateToVersion('2.0.17');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Froxlor::isFroxlorVersion('2.0.17')) {
|
||||||
|
Update::showUpdateStep("Updating from 2.0.17 to 2.0.18", false);
|
||||||
|
Froxlor::updateToVersion('2.0.18');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Froxlor::isFroxlorVersion('2.0.18')) {
|
||||||
|
Update::showUpdateStep("Updating from 2.0.18 to 2.0.19", false);
|
||||||
|
Froxlor::updateToVersion('2.0.19');
|
||||||
|
}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ final class Froxlor
|
|||||||
{
|
{
|
||||||
|
|
||||||
// Main version variable
|
// Main version variable
|
||||||
const VERSION = '2.0.16';
|
const VERSION = '2.0.19';
|
||||||
|
|
||||||
// Database version (YYYYMMDDC where C is a daily counter)
|
// Database version (YYYYMMDDC where C is a daily counter)
|
||||||
const DBVERSION = '202304260';
|
const DBVERSION = '202304260';
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ class RateLimiter
|
|||||||
self::$reset_time = time() + 60;
|
self::$reset_time = time() + 60;
|
||||||
|
|
||||||
if (!$install_mode) {
|
if (!$install_mode) {
|
||||||
self::$limit_per_interval = Settings::Get('system.req_limit_per_interval');
|
self::$limit_per_interval = Settings::Get('system.req_limit_per_interval') ?? 60;
|
||||||
self::$reset_time = time() + Settings::Get('system.req_limit_interval');
|
self::$reset_time = time() + Settings::Get('system.req_limit_interval') ?? 60;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get the remaining requests and reset time from the headers
|
// Get the remaining requests and reset time from the headers
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ class Install
|
|||||||
public $phpVersion;
|
public $phpVersion;
|
||||||
public $formfield;
|
public $formfield;
|
||||||
public string $requiredVersion = '7.4.0';
|
public string $requiredVersion = '7.4.0';
|
||||||
public array $requiredExtensions = ['session', 'ctype', 'mysql', 'xml', 'filter', 'posix', 'mbstring', 'curl', 'gmp', 'json', 'gd'];
|
public array $requiredExtensions = ['session', 'ctype', 'xml', 'filter', 'posix', 'mbstring', 'curl', 'gmp', 'json', 'gd'];
|
||||||
public array $suggestedExtensions = ['bcmath', 'zip'];
|
public array $suggestedExtensions = ['bcmath', 'zip'];
|
||||||
public array $suggestions = [];
|
public array $suggestions = [];
|
||||||
public array $criticals = [];
|
public array $criticals = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user