|
|
@@ -1,9 +1,12 @@
|
|
|
<?php
|
|
|
/**
|
|
|
- * This file is loaded automatically by the app/webroot/index.php file after the core bootstrap.php
|
|
|
+ * This file is loaded automatically by the app/webroot/index.php file after core.php
|
|
|
*
|
|
|
- * This is an application wide file to load any function that is not used within a class
|
|
|
- * define. You can also use this to include or require any files in your application.
|
|
|
+ * 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.
|
|
|
*
|
|
|
* PHP 5
|
|
|
*
|
|
|
@@ -20,6 +23,9 @@
|
|
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
|
|
*/
|
|
|
|
|
|
+// Setup a 'default' cache configuration for use in the application.
|
|
|
+Cache::config('default', array('engine' => 'File'));
|
|
|
+
|
|
|
/**
|
|
|
* The settings below can be used to set additional paths to models, views and controllers.
|
|
|
* This is related to Ticket #470 (https://trac.cakephp.org/ticket/470)
|
|
|
@@ -28,7 +34,7 @@
|
|
|
* '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/'),
|
|
|
- * 'controllers' => array(/full/path/to/controllers/', '/next/full/path/to/controllers/'),
|
|
|
+ * 'controllers' => array('/full/path/to/controllers/', '/next/full/path/to/controllers/'),
|
|
|
* '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/'),
|