action方法输出不来
<?php
$module = isset($_GET['m'])?$_GET['m']:"index";
$action = isset($_GET['a'])?$_GET['a']:"index";
$t=new $module();
$t-> $action;
class index{
function __construct(){
echo 'index'.'<br/>';
}
function index(){
echo 'action';
}
}
exit;
define('APP_NAME','test');
define('APP_PATH','./test1/');
require('./ThinkPHP/ThinkPHP.php');
?>