Files
web-discuz/source/plugin/mobile/api/3/login.php
2025-06-27 20:59:33 +08:00

35 lines
719 B
PHP

<?php
/**
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
*
* $Id: login.php 34236 2013-11-21 01:13:12Z nemohou $
*/
if(!defined('IN_MOBILE_API')) {
exit('Access Denied');
}
$_GET['mod'] = 'logging';
$_GET['action'] = !empty($_GET['action']) ? $_GET['action'] : 'login';
include_once 'member.php';
class mobile_api {
public static function common() {
global $_G;
if($_G['setting']['seccodedata']['rule']['login']['allow'] == 2) {
$_G['setting']['seccodedata']['rule']['login']['allow'] = 1;
}
}
public static function output() {
global $_G;
$variable = array();
mobile_core::result(mobile_core::variable($variable));
}
}
?>