9 lines
192 B
PHP
9 lines
192 B
PHP
<?php
|
|
$a = \S::get( 'a' );
|
|
|
|
if ( $a == 'check_login' )
|
|
{
|
|
$response = \admin\factory\Users::check_login( \S::get( 'login' ), \S::get( 'user_id' ) );
|
|
echo json_encode( $response );
|
|
exit;
|
|
} |