sms5에서 인증체크 함수 따로 추가

This commit is contained in:
thisgun
2014-04-16 14:06:58 +09:00
parent 344a61d5a5
commit f5583edec7
5 changed files with 37 additions and 5 deletions

View File

@ -10,7 +10,9 @@ if( !function_exists('json_encode') ) {
}
}
auth_check($auth[$sub_menu], "r");
if( $auth_check = ajax_auth_check($auth[$sub_menu], "r") ){
die("{\"error\":\"$auth_check\"}");
}
$err = '';
$arr_ajax_msg = array();

View File

@ -10,9 +10,11 @@ if( !function_exists('json_encode') ) {
}
}
$page_size = 6;
if( $auth_check = ajax_auth_check($auth[$sub_menu], "r") ){
die("{\"error\":\"$auth_check\"}");
}
auth_check($auth[$sub_menu], "r");
$page_size = 6;
if (!$page) $page = 1;

View File

@ -10,7 +10,9 @@ if( !function_exists('json_encode') ) {
}
}
auth_check($auth[$sub_menu], "r");
if( $auth_check = ajax_auth_check($auth[$sub_menu], "r") ){
die("{\"error\":\"$auth_check\"}");
}
$lev = array();

View File

@ -5,7 +5,9 @@ include_once("./_common.php");
$page_size = 10;
$colspan = 5;
auth_check($auth[$sub_menu], "r");
if( $auth_check = ajax_auth_check($auth[$sub_menu], "r") ){
die("{\"error\":\"$auth_check\"}");
}
$g5['title'] = "휴대폰번호 관리";