2008-05-30 11:40:08 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2011-03-12 17:19:06 +00:00
|
|
|
* This file is loaded automatically by the app/webroot/index.php file after core.php
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
2011-10-28 05:01:17 +00:00
|
|
|
* This file should load/create any application wide configuration settings, such as
|
2011-03-12 17:19:06 +00:00
|
|
|
* Caching, Logging, loading additional configuration files.
|
|
|
|
*
|
|
|
|
* You should also use this file to include any files that provide global functions/constants
|
|
|
|
* that your application uses.
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
2010-10-03 16:38:58 +00:00
|
|
|
* PHP 5
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
2009-07-25 22:17:27 +00:00
|
|
|
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
2012-03-13 02:46:07 +00:00
|
|
|
* Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
|
|
|
* Licensed under The MIT License
|
|
|
|
* Redistributions of files must retain the above copyright notice.
|
|
|
|
*
|
2012-03-13 02:46:07 +00:00
|
|
|
* @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2009-07-25 22:17:27 +00:00
|
|
|
* @link http://cakephp.org CakePHP(tm) Project
|
2011-07-26 06:16:14 +00:00
|
|
|
* @package app.Config
|
2008-10-30 17:30:26 +00:00
|
|
|
* @since CakePHP(tm) v 0.10.8.2117
|
2009-11-06 06:51:51 +00:00
|
|
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
2008-05-30 11:40:08 +00:00
|
|
|
*/
|
2009-07-24 19:18:37 +00:00
|
|
|
|
2011-03-12 17:19:06 +00:00
|
|
|
// Setup a 'default' cache configuration for use in the application.
|
|
|
|
Cache::config('default', array('engine' => 'File'));
|
|
|
|
|
2008-05-30 11:40:08 +00:00
|
|
|
/**
|
2009-07-25 22:17:27 +00:00
|
|
|
* The settings below can be used to set additional paths to models, views and controllers.
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
2009-07-25 22:17:27 +00:00
|
|
|
* App::build(array(
|
2011-10-10 22:22:23 +00:00
|
|
|
* 'Plugin' => array('/full/path/to/plugins/', '/next/full/path/to/plugins/'),
|
|
|
|
* 'Model' => array('/full/path/to/models/', '/next/full/path/to/models/'),
|
|
|
|
* 'View' => array('/full/path/to/views/', '/next/full/path/to/views/'),
|
|
|
|
* 'Controller' => array('/full/path/to/controllers/', '/next/full/path/to/controllers/'),
|
|
|
|
* 'Model/Datasource' => array('/full/path/to/datasources/', '/next/full/path/to/datasources/'),
|
|
|
|
* 'Model/Behavior' => array('/full/path/to/behaviors/', '/next/full/path/to/behaviors/'),
|
|
|
|
* 'Controller/Component' => array('/full/path/to/components/', '/next/full/path/to/components/'),
|
|
|
|
* 'View/Helper' => array('/full/path/to/helpers/', '/next/full/path/to/helpers/'),
|
|
|
|
* 'Vendor' => array('/full/path/to/vendors/', '/next/full/path/to/vendors/'),
|
|
|
|
* 'Console/Command' => array('/full/path/to/shells/', '/next/full/path/to/shells/'),
|
2012-02-18 12:31:29 +00:00
|
|
|
* 'Locale' => array('/full/path/to/locale/', '/next/full/path/to/locale/')
|
2009-07-25 22:17:27 +00:00
|
|
|
* ));
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
|
|
|
*/
|
2009-07-24 19:18:37 +00:00
|
|
|
|
2008-05-30 11:40:08 +00:00
|
|
|
/**
|
2011-07-07 07:04:22 +00:00
|
|
|
* Custom Inflector rules, can be set to correctly pluralize or singularize table, model, controller names or whatever other
|
|
|
|
* string is passed to the inflection functions
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
2010-04-19 02:08:04 +00:00
|
|
|
* Inflector::rules('singular', array('rules' => array(), 'irregular' => array(), 'uninflected' => array()));
|
2010-04-17 18:41:30 +00:00
|
|
|
* Inflector::rules('plural', array('rules' => array(), 'irregular' => array(), 'uninflected' => array()));
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
|
|
|
*/
|
2011-07-07 07:04:22 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Plugins need to be loaded manually, you can either load them one by one or all of them in a single call
|
|
|
|
* Uncomment one of the lines below, as you need. make sure you read the documentation on CakePlugin to use more
|
|
|
|
* advanced ways of loading plugins
|
|
|
|
*
|
|
|
|
* CakePlugin::loadAll(); // Loads all plugins at once
|
|
|
|
* CakePlugin::load('DebugKit'); //Loads a single plugin named DebugKit
|
|
|
|
*
|
2011-10-14 19:06:36 +00:00
|
|
|
*/
|