code_junkie

What is the best free PHP framework working on shared hosting and why?

Nov 11th, 2011
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. /home
  2. |
  3. /cakephp - complete copy of default cake folder
  4. | with /cake, /app, /vendors etc left untouched
  5. |
  6. /public_html - default shared webroot folder
  7. | place your customised cake /webroot folder in here with
  8. | index.php, /css /js folders etc
  9. |
  10. /app - place your customised cake /app folder here, without the /webroot
  11. contains your /controllers, /models etc folders
  12.  
  13. if (!defined('ROOT')) {
  14. define('ROOT', '/home/app');
  15. }
  16.  
  17. if (!defined('APP_DIR')) {
  18. define('APP_DIR', basename(dirname(dirname(__FILE__))));
  19. }
  20.  
  21. if (!defined('CAKE_CORE_INCLUDE_PATH')) {
  22. define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'cakephp');
  23. }
Add Comment
Please, Sign In to add comment