Case Conversion-thinkphp is case-sensitive under windows

Source: Internet
Author: User
thinkphp how to strictly case-sensitive under windows ?
Because the project is going to eventually move to Linux. But because it's a development environment, it can't be case-sensitive. So later to Linux will be a problem.
So ask the great God. There is no way to strictly match the case under Windows.
Debug mode seems useless ....

Thank you all!

Reply content:

thinkphp how to strictly case-sensitive under windows ?
Because the project is going to eventually move to Linux. But because it's a development environment, it can't be case-sensitive. So later to Linux will be a problem.
So ask the great God. There is no way to strictly match the case under Windows.
Debug mode seems useless ....

Thank you all!

There should be no solution, because this is determined by the operating system rather than the language or framework.
You can develop it directly under Linux, install a virtual machine, easily

There's a section in the Handbook.

Define (' App_debug ', true);

When debug mode is turned on, the system will load the default debug profile and then load the project's debug profile, with the advantage of the debug mode:
Turn on logging, any error messages and debugging information will be recorded in detail, easy to debug;
Close the template cache, template modification can be effective immediately;
Log SQL logs for easy analysis of SQL;
Close the field cache, and the data table fields are not affected by the cache;
Strictly check file capitalization (even on Windows platforms) to help you discover Linux deployment issues ahead of time;
Can be easily used in different stages of the development process, including development, testing and demonstration of any need, different application patterns can be configured to separate project configuration files;

  • Related Article

    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.