$v) { tt_load($v, $config['oper']); } } echo tt_echo('程序执行完毕'); } elseif(isset($config['request']['view']) && $config['request']['view'] != 'index') { is_file($config['request']['view'] . '.php') && include($config['request']['view'] . '.php'); $data = $$config['request']['view']; $config['request']['type'] && $config['request']['view'] .= '.'.$config['request']['type']; tt_view($config['request']['view'], $data); } else { tt_view('index', $config); } /** * tt_view() */ function tt_view($html, $data) { include(TT_MANAGE_PATH . 'view/'.$html.'.htm'); }