[*] небольшой рефакторинг SystemFunctions.class.php
[*] исправлен прогресс бар в диспетчере очереди (теперь показывает проценты корректно и меняет цвет в зависимости от нагрузки)
This commit is contained in:
1 parent
9decebf051
commit
cf50026ce5
10 files changed
+236
-230
No files matched your search
+2
-2
@@ -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()) {
|
||||
|
||||
Reference in new issue
Block a user