There are still differences in routing between CI and Yii1. The directory structure of Yii1 is protected/admin which is the backend admin, while other folders in protected are all frontend files
In CI, under application/controllers, the admin and index folders are subdivided respectively. Indicates the backend and the frontend
When both the index folder and the index.php file exist in the controllers, the index.php file will be accessed first
The above has introduced the CI learning notes (1), including some aspects. I hope it will be helpful to friends who are interested in PHP tutorials.