/var/www/hkosl.com/dashboard/webadmin/do_login.php


1
2
3
4
5
6
7
8
9
10
11
12
<?php
header
('X-UA-Compatible: IE=edge,chrome=1');
if(!
$do_login) exit;
    
require_once 
'configure.php';

require_once 
'function_login_block.php';
require_once 
'function_auth.php';

Sys_user::auth($_POST['loginname'], $_POST['password']);
//if success, callback will forward the user to index.php
//otherwise, load the caller page - login.php