php - How do I change the name of CakePHP root directory -
i want change name of root directory of cakephp install. example root called 'cakephp_website' , want change 'my_website'.
however when rename directory following error:
missing controller error: mywebsitecontroller not found. error: create class mywebsitecontroller below in file: app\controller\mywebsitecontroller.php
what process achieving this?
in /app/webroot/index.php
/app/my_website/index.php
add these lines:
define('www_root', '/full/path/to/my_website/'); define('webroot_dir', 'my_website');
Comments
Post a Comment