hi. the current directory structure protects protected folders using the deny permission .htaccess directive, but i was wondering in a better approach by separating the index.php front controller and its .hstaccess file in a' let's say, folder named: webroot or webapp or root or something like.
webroot
..index.php
..htaccess
application
..controllers
..views
..models
..etc
system
..yii framework here
this would be a much nicer dir structure i think.
Page 1 of 1
Yii directory structure
#2
Posted 12 March 2009 - 08:48 AM
Yes, you can use this directory. You just need to set the basePath in app config as you like.
#3
Posted 14 March 2009 - 07:11 AM
We can do that way, but if you are really worried, you could put an index.php with nothing in it on all directories. Existing settings work the way they are.
Share this topic:
Page 1 of 1

Help












