File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,12 @@ they work in sequence and don't get in each other's way.
3030The autoloader is always active, being registered with ``spl_autoload_register() `` at the
3131beginning of the framework's execution.
3232
33+ .. important :: You should always be careful about the case of filenames. Many
34+ developers develop on case-insensitive file systems on Windows or macOS.
35+ However, most server environments use case-sensitive file systems. If the
36+ file name case is incorrect, the autoloader cannot find the file on the
37+ server.
38+
3339Configuration
3440*************
3541
Original file line number Diff line number Diff line change @@ -19,6 +19,12 @@ Let's Make our First Controller
1919Create a file at **app/Controllers/Pages.php ** with the following
2020code.
2121
22+ .. important :: You should always be careful about the case of filenames. Many
23+ developers develop on case-insensitive file systems on Windows or macOS.
24+ However, most server environments use case-sensitive file systems. If the
25+ file name case is incorrect, code that works locally will not work on the
26+ server.
27+
2228.. literalinclude :: static_pages/001.php
2329
2430You have created a class named ``Pages ``, with a ``view() `` method that accepts
You can’t perform that action at this time.
0 commit comments