bootstrap.php 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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-2011, 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-2011, 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. * 'Plugin' => array('/full/path/to/plugins/', '/next/full/path/to/plugins/'),
  32. * 'Model' => array('/full/path/to/models/', '/next/full/path/to/models/'),
  33. * 'View' => array('/full/path/to/views/', '/next/full/path/to/views/'),
  34. * 'Controller' => array('/full/path/to/controllers/', '/next/full/path/to/controllers/'),
  35. * 'Model/Datasource' => array('/full/path/to/datasources/', '/next/full/path/to/datasources/'),
  36. * 'Model/Behavior' => array('/full/path/to/behaviors/', '/next/full/path/to/behaviors/'),
  37. * 'Controller/Component' => array('/full/path/to/components/', '/next/full/path/to/components/'),
  38. * 'View/Helper' => array('/full/path/to/helpers/', '/next/full/path/to/helpers/'),
  39. * 'Vendor' => array('/full/path/to/vendors/', '/next/full/path/to/vendors/'),
  40. * 'Console/Command' => 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. * Custom Inflector rules, can be set to correctly pluralize or singularize table, model, controller names or whatever other
  47. * string is passed to the inflection functions
  48. *
  49. * Inflector::rules('singular', array('rules' => array(), 'irregular' => array(), 'uninflected' => array()));
  50. * Inflector::rules('plural', array('rules' => array(), 'irregular' => array(), 'uninflected' => array()));
  51. *
  52. */
  53. /**
  54. * Plugins need to be loaded manually, you can either load them one by one or all of them in a single call
  55. * Uncomment one of the lines below, as you need. make sure you read the documentation on CakePlugin to use more
  56. * advanced ways of loading plugins
  57. *
  58. * CakePlugin::loadAll(); // Loads all plugins at once
  59. * CakePlugin::load('DebugKit'); //Loads a single plugin named DebugKit
  60. *
  61. */