bootstrap.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. /**
  3. * This file is loaded automatically by the app/webroot/index.php file after core.php
  4. *
  5. * This file should load/create any application wide configuration settings, such as
  6. * Caching, Logging, loading additional configuration files.
  7. *
  8. * You should also use this file to include any files that provide global functions/constants
  9. * that your application uses.
  10. *
  11. * PHP 5
  12. *
  13. * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  14. * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
  15. *
  16. * Licensed under The MIT License
  17. * Redistributions of files must retain the above copyright notice.
  18. *
  19. * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
  20. * @link http://cakephp.org CakePHP(tm) Project
  21. * @package app.config
  22. * @since CakePHP(tm) v 0.10.8.2117
  23. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  24. */
  25. // Setup a 'default' cache configuration for use in the application.
  26. Cache::config('default', array('engine' => 'File'));
  27. /**
  28. * The settings below can be used to set additional paths to models, views and controllers.
  29. *
  30. * App::build(array(
  31. * 'plugins' => array('/full/path/to/plugins/', '/next/full/path/to/plugins/'),
  32. * 'models' => array('/full/path/to/models/', '/next/full/path/to/models/'),
  33. * 'views' => array('/full/path/to/views/', '/next/full/path/to/views/'),
  34. * 'controllers' => array('/full/path/to/controllers/', '/next/full/path/to/controllers/'),
  35. * 'datasources' => array('/full/path/to/datasources/', '/next/full/path/to/datasources/'),
  36. * 'behaviors' => array('/full/path/to/behaviors/', '/next/full/path/to/behaviors/'),
  37. * 'components' => array('/full/path/to/components/', '/next/full/path/to/components/'),
  38. * 'helpers' => array('/full/path/to/helpers/', '/next/full/path/to/helpers/'),
  39. * 'vendors' => array('/full/path/to/vendors/', '/next/full/path/to/vendors/'),
  40. * 'shells' => array('/full/path/to/shells/', '/next/full/path/to/shells/'),
  41. * 'locales' => array('/full/path/to/locale/', '/next/full/path/to/locale/')
  42. * ));
  43. *
  44. */
  45. /**
  46. * As of 1.3, additional rules for the inflector are added below
  47. *
  48. * Inflector::rules('singular', array('rules' => array(), 'irregular' => array(), 'uninflected' => array()));
  49. * Inflector::rules('plural', array('rules' => array(), 'irregular' => array(), 'uninflected' => array()));
  50. *
  51. */