Case Sensitive Problem

-1

I'm building a small application in MVC, for didactic purposes, I did most of it in Windows, when I passed my scripts for Elementary Os, many errors were appearing, including files and etc., these errors are due to Case -Sensitive, what can I do to fix this?

    
asked by anonymous 05.04.2014 / 20:48

2 answers

3

Basically, standardize the names and always write the same in both source codes and files. The way, in your case, is to revise the code, and fix it.

If it is a "desperate measure", whatever is your own thing, turn everything down so you do not have to think too much.

Keep camelcase just what is a third-party library, or else when you upgrade, it will get complicated again.

In fact, always avoid filenames with accents and spaces, which are another source of problems.

  

Important: Solutions that use .htaccess are used to store links that the end user browsing the site typed with wrong casing , not to sort names that have been entered wrong by the system author itself.

    
05.04.2014 / 21:11
0

From a read on design patterns, there you will learn more about standardization in writing class names, where the first letter of each word begins with a capital letter, and many others. By following these standards you will have no problem migrating your server systems. Remembering that all linux or linux based distributions are case sensitive, while windows is not.

    
05.04.2014 / 22:32