Commit 038cc62
committed
fix(envlite): serve directory indexes so /wp-admin/ reaches wp-admin/index.php
Existing directories such as /wp-admin/ previously fell through to the
front controller, returning the front-end response instead of executing
src/wp-admin/index.php. Return false for directories with an index.php
so php -S serves the directory index. Directories without an index
still fall through to the front controller to avoid php -S's default
directory listings.1 parent 048bbc6 commit 038cc62
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
14 | 23 | | |
| 24 | + | |
15 | 25 | | |
0 commit comments