入口文件中这样配置就可以了
define('APP_DEBUG',True);// 默认绑定Home模块--注意这里define('BIND_MODULE', 'Home');// 定义应用目录define('APP_PATH','./Application/');// 引入ThinkPHP入口文件require './ThinkPHP/ThinkPHP.php';
路由。看看手册。