How to configure like yii 1 , application starting from root directory for frontend?
public_html
//used by frontend and backend
common/
console/
vendor/
environments/
//
//backend like yii 2
backend333/
assets/
config/
controllers/
models/
runtime/
views/
web/
widgets/
//frontend
assets/
config/
controllers/
models/
runtime/
views/
widgets/
//web in root
themes/
mytheme/
css/..
js/..
index.php