Home>Article>PHP Framework> What should I do if thinkphp cannot load the module?

What should I do if thinkphp cannot load the module?

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼 Original
2019-08-22 14:48:45 5134browse

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:

What should I do if thinkphp cannot load the module?

Related recommendations: "ThinkPHP Tutorial

Solution: Just set the default directory in conf.php under common under the Application directory.

//设置默认目录 'DEFAULT_MODULE'=>'Home',

As shown:

What should I do if thinkphp cannot load the module?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn