Home >PHP Framework >ThinkPHP >What should I do if thinkphp cannot load the module?
thinkphp reports an error that the module cannot be loaded, as shown in the figure:
Related recommendations: "ThinkPHP Tutorial 》
Solution: Just set the default directory in conf.php under common under the Application directory.
//设置默认目录 'DEFAULT_MODULE'=>'Home',
As shown:
The above is the detailed content of What should I do if thinkphp cannot load the module?. For more information, please follow other related articles on the PHP Chinese website!