win7 sp1 ,XAMPP,PHP5.5.
这两天学习ThinkPHP,建立几个项目,结果经常发现写着写着就发生
无法加载模块:Index
错误位置
FILE: E:\APMX\htdocs\myxss\ThinkPHP\Common\functions.php LINE: 112这期间Index模块是没有动过的。求解释。目录结构:

上代码:
index.php
<?php
define('APP_NAME', 'Index1');
define('APP_PATH', './Index1/');
define('APP_DEBUG', TRUE);
include './ThinkPHP/ThinkPHP.php';
?>config.php<?php
return array(
'APP_GROUP_LIST' =>'Index,Admin',
'DEFAULT_APP'=>'Index',
'DB_TYPE'=>'mysql',
'DB_HOST'=>'localhost',
'DB_NAME'=>'think',
'DB_USER'=>'root',
'DB_PWD'=>'',
'DB_PORT'=>'3306',
'DB_PREFIX'=>'hd_',
);
?> 最佳答案