Question arising from the previous question.
Maybe I have the wrong MVC design?
All requests go through the main index.php, CNC is used. It is written in htaccess that all requests are redirected to index.php. index.php transfers control to the router, which selects the required method from the url line; if the method does not exist, the View class displays: "not found". Right?
Further, in the admin folder is your index.php and your router, which processes not the NC, but simple links like /? Action = edit & target = main .
How to be? Do such "admin" requests pass through the main index.php or not? Is the site properly designed? And if it is correct, why can not I put the password on the admin folder?
UPDATE More precisely - the entrance to the site for example www.mysite.
Login to admin area - www.mysite / admin