Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home
- |
- /cakephp - complete copy of default cake folder
- | with /cake, /app, /vendors etc left untouched
- |
- /public_html - default shared webroot folder
- | place your customised cake /webroot folder in here with
- | index.php, /css /js folders etc
- |
- /app - place your customised cake /app folder here, without the /webroot
- contains your /controllers, /models etc folders
- if (!defined('ROOT')) {
- define('ROOT', '/home/app');
- }
- if (!defined('APP_DIR')) {
- define('APP_DIR', basename(dirname(dirname(__FILE__))));
- }
- if (!defined('CAKE_CORE_INCLUDE_PATH')) {
- define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'cakephp');
- }
Add Comment
Please, Sign In to add comment