[FIX] issue of case-sensitive file path in linux (unix base system) #74
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue description:
In Windows operating systems, file paths are not case-sensitive. On the other hand, Unix-based operating systems, such as Linux and macOS, are case-sensitive. This means that you must use the exact capitalization of the file path to access the file correctly.
*In Windows: You could open a file named "MyDocument.docx" using any of the following paths:
C:\Users\Documents\MyDocument.docx
c:\users\documents\mydocument.docx
C:\USERS\DOCUMENTS\MYDOCUMENT.DOCX
In Linux: If the file is actually named "MyDocument.docx" (with a capital "D"), you would only be able to open it using the path
"/home/user/Documents/MyDocument.docx"
. Using"/home/user/documents/mydocument.docx"
would not work, as the system would treat it as a different file.Related:
#46 #34
Proposed method:
by using native php method
ucwords
atsrc/helpers.php
ingetCrudConfig
function.so it does n't matter
user
orUSER
for it and result always should be:/CRUD/UserComponent.php
TODO: