[*] небольшой рефакторинг SystemFunctions.class.php

[*] исправлен прогресс бар в диспетчере очереди (теперь показывает проценты корректно и меняет цвет в зависимости от нагрузки)
This commit is contained in:
rsgrinko committed 2023-10-08 00:42:36 +03:00
1 parent 9decebf051
commit cf50026ce5
10 files changed
+236 -230

No files matched your search

+2 -2
View File
@@ -19,7 +19,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
use Core\Helpers\SystemFunctions;
use Core\Helpers\Captcha;
use Core\Models\User;
use Core\CoreException;
@@ -27,7 +27,7 @@
$captchaCorrect = true;
if (USE_CAPTCHA) {
$captchaCorrect = isset($_REQUEST['captchaCode']) && SystemFunctions::isValidCaptcha($_REQUEST['captchaCode']);
$captchaCorrect = isset($_REQUEST['captchaCode']) && Captcha::isValidCaptcha($_REQUEST['captchaCode']);
}
if (User::isAuthorized()) {