[*] переименованы методы

This commit is contained in:
rsgrinko committed 2021-12-10 23:16:15 +03:00
1 parent eb18e5e6c9
commit b5db27307f
23 files changed
+41 -41

No files matched your search

+2 -2
View File
@@ -8,12 +8,12 @@
*/
require_once __DIR__ . '/inc/bootstrap.php';
if(CUser::is_user()) {
if(CUser::isUser()) {
$auth = true;
} else {
$auth = false;
if($_REQUEST['login']!=='' and $_REQUEST['pass']!=='' and !empty($_REQUEST['login'] and !empty($_REQUEST['pass']))){
if(CUser::SecurityAuthorize($_REQUEST['login'], $_REQUEST['pass'])) {
if(CUser::securityAuthorize($_REQUEST['login'], $_REQUEST['pass'])) {
$auth = true;
} else {
$auth = false;