26 lines
564 B
PHP
26 lines
564 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* [Discuz!] (C)2001-2099 Comsenz Inc.
|
||
|
* This is NOT a freeware, use is subject to license terms
|
||
|
*
|
||
|
* $Id: member_logging.php 25246 2011-11-02 03:34:53Z zhangguosheng $
|
||
|
*/
|
||
|
|
||
|
if(!defined('IN_DISCUZ')) {
|
||
|
exit('Access Denied');
|
||
|
}
|
||
|
|
||
|
define('NOROBOT', TRUE);
|
||
|
|
||
|
if(!in_array($_GET['action'], array('login', 'logout'))) {
|
||
|
showmessage('undefined_action');
|
||
|
}
|
||
|
|
||
|
$ctl_obj = new logging_ctl();
|
||
|
$ctl_obj->setting = $_G['setting'];
|
||
|
$method = 'on_'.$_GET['action'];
|
||
|
$ctl_obj->template = 'member/login';
|
||
|
$ctl_obj->$method();
|
||
|
|
||
|
?>
|