Welcome Guest, Not a member yet? Register   Sign In
CI4 doesn't support hyphens/dashes in controller subdirectories
#8

(02-17-2021, 04:43 PM)kenjis Wrote: Okay, I understand the current implementation does not accept `Sub_dir`.

I think `Sub_dir` and uri dash translation should accept `https://www.example.com/sub-dir`.
`app/Controllers/Sub-dir/Home.php` is not PSR-4 compliant.

Kenjis, I very much appreciate your participation in this discussion. It's helpful to know that `app/Controllers/Sub-dir/Home.php` is not PSR-4 compliant. I think I've located a bug in CI4 and I've reported it as Issue #4294. Skip over the main/first post to my second one that I posted a few minutes ago. I think this will explain what the bug is.
Reply


Messages In This Thread
RE: CI4 doesn't support hyphens/dashes in controller subdirectories - by sneakyimp - 02-17-2021, 06:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB