程序不执行$run = new $mod();就不执行啦!是什么原因$mod = isset($_GET['m']) ? ucfirst($_GET['m']) : 'Index'; //默认加载Index 函数isset ucfirst() 首字母大写$mod .= "Action";$run = new $mod();$run->run();[解决办法]$run = new $mod();$run->run();new mod();