Currently I use this structure:
app/
bootstrap/
vendor/
public/
I would like to change it to
app-2/
bootstrap-2/
vendor-2/
public/
How to do that, I mean, which files do I need to change the path?
RIght now I have tried to change paths in:
public/index.php
then in:
bootstrap/autoload.php
bootstrap/path.php
bootstrap/start.php
Basically I have changed every /app/ to /app-2/ and the same for bootstrap and vendor.
But for some reason, the controllers from to app/controllers are executed instead of app-2/controllers
Any idea, if I am missing some file that needs to be edited also?
IN the debugger I see vendor-2, so that's correct, but why are loaded controllers from app instead of app-2 folder?