cakephp2-php8/lib/Cake/Console/templates/skel/Config/bootstrap.php

55 lines
2.4 KiB
PHP
Raw Normal View History

<?php
/**
2011-03-12 17:19:06 +00:00
* This file is loaded automatically by the app/webroot/index.php file after core.php
*
2011-03-12 17:19:06 +00:00
* This file should load/create any application wide configuration settings, such as
* 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.
*
2010-10-03 16:38:58 +00:00
* PHP 5
*
2009-07-25 22:17:27 +00:00
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
2011-05-29 21:31:39 +00:00
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
2011-05-29 21:31:39 +00:00
* @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
2009-07-25 22:17:27 +00:00
* @link http://cakephp.org CakePHP(tm) Project
* @package app.config
* @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)
*/
2011-03-12 17:19:06 +00:00
// Setup a 'default' cache configuration for use in the application.
Cache::config('default', array('engine' => 'File'));
/**
2009-07-25 22:17:27 +00:00
* The settings below can be used to set additional paths to models, views and controllers.
*
2009-07-25 22:17:27 +00:00
* App::build(array(
* 'plugins' => array('/full/path/to/plugins/', '/next/full/path/to/plugins/'),
* 'models' => array('/full/path/to/models/', '/next/full/path/to/models/'),
* 'views' => array('/full/path/to/views/', '/next/full/path/to/views/'),
2011-03-12 17:19:06 +00:00
* 'controllers' => array('/full/path/to/controllers/', '/next/full/path/to/controllers/'),
2009-07-25 22:17:27 +00:00
* 'datasources' => array('/full/path/to/datasources/', '/next/full/path/to/datasources/'),
* 'behaviors' => array('/full/path/to/behaviors/', '/next/full/path/to/behaviors/'),
* 'components' => array('/full/path/to/components/', '/next/full/path/to/components/'),
* 'helpers' => array('/full/path/to/helpers/', '/next/full/path/to/helpers/'),
* 'vendors' => array('/full/path/to/vendors/', '/next/full/path/to/vendors/'),
* 'shells' => array('/full/path/to/shells/', '/next/full/path/to/shells/'),
* 'locales' => array('/full/path/to/locale/', '/next/full/path/to/locale/')
* ));
*
*/
/**
2009-07-25 22:17:27 +00:00
* As of 1.3, additional rules for the inflector are added below
*
2010-04-19 02:08:04 +00:00
* Inflector::rules('singular', array('rules' => array(), 'irregular' => array(), 'uninflected' => array()));
* Inflector::rules('plural', array('rules' => array(), 'irregular' => array(), 'uninflected' => array()));
*
*/