Case sensitivity of modules in thinkphp debugging mode

Source: Internet
Author: User
When using thinkphp, the following code is written to the portal ,? Php farmer Management Platform

When using thinkphp, the following code is written to the portal ,? Php // farmer management platform-box system defined ('root _ path') or define ('root _ path', dirname (_ FILE __)); define ('app _ debug', TRUE); define ('Think _ path ','. /system/core/ThinkPHP/'); define ('app _ name', 'farm'); define (

In thinkphp, write the following code into the portal,

 

If any error is found:

The reason is that the debug mode is enabled in 3.0, and the case-Sensitivity Check is enabled by default. To disable this, add the debug. php configuration file in config, as shown in

Code:

  False, // check whether the file's case sensitivity is valid for Windows );

In this way, the Case sensitivity problem is solved. For detailed configuration of debug, view debug. php In the Conf folder of the thinkphp core library.

Recently, I have been studying the problem of communication between android and php, so blog updates are slow ....

Original article address: Case sensitivity of the module in thinkphp debugging mode. Thank you for sharing it with the original author.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.