First of all thanks for joining our community
Do you know the code quality measure: WTF per minute?
I do…please keep in mind this is only a Forum. This is not an official documentation or anything like that. Anyone is free to register and can post guides here or other stuff related to koseven. So there are no Code Reviews for forum posts. This one was just a quick (and as you would say dirty) example of how you could do it…which we created a while ago in the Telegram chat and posted it here.
So the example given is illogical
In my opinion it pretty much does what it sould do, enabling Routes for subfolders in a easy way.
In routing, you are not limited to parameters called directory, controller, action, id. You can enter any and use filters to modify the input parameters.
indeed you can and i am pretty sure via this way there is a “better” solution for my code above (one that even works with multiple sub directories and so on) but as said this was just a quick example of how you could do it.
Anyway: I really appriciate your help and input and i hope it is useful for others in the future. Thanks a lot!