This is the default directory structure in CakePHP 2.10.13:
~/lib/Cake ~/app/Config ~/app/Controller ... ~/app/webroot/index.php - this is the site directory index
But I use this:
~/webroot/cakephp/core/2.10.13/lib/Cake ~/webroot/cakephp/app/Config ~/webroot/cakephp/app/Controller ... ~/webroot/index.php - this is the site directory index
Everything in webroot. I know it’s not good, but it’s necessary. CakePHP it works with my settings, but I don’t know how to make it safe the files/directories. Please help me. Thanks!