updating core.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5708 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2007-10-01 18:58:35 +00:00
parent 2ef118c3c4
commit e8dfaa322e
2 changed files with 15 additions and 4 deletions

View file

@ -53,6 +53,12 @@
* In development mode, you need to click the flash message to continue.
*/
Configure::write('debug', 2);
/**
* Turn off caching application-wide.
*
*/
Configure::write('Cache.disable', false);
/**
* Turn off or enable cache checking application-wide.
*
@ -61,7 +67,7 @@
* controller-wide by setting var $cacheAction = true, or in each action
* using $this->cacheAction = true.
*/
Configure::write('Cache.check', true);
Configure::write('Cache.check', false);
/**
* Defines the default error type when using the log() function. Used for
* differentiating error logging and debugging. Currently PHP supports LOG_DEBUG.
@ -196,7 +202,7 @@
* $cakeCache = array('Model', array(
* [optional] 'duration'=> 3600,
* [optional] 'probability'=> 100,
* [optional] 'name' => 'Cache',
* [optional] 'className' => 'Cache',
* [optional] 'fields' => array('data' => 'data', 'expires => 'expires'),
* [optional] 'serialize' => true,
* ));

View file

@ -53,6 +53,11 @@
* In development mode, you need to click the flash message to continue.
*/
Configure::write('debug', 2);
/**
* Turn off caching application-wide.
*
*/
Configure::write('Cache.disable', false);
/**
* Turn off or enable cache checking application-wide.
*
@ -61,7 +66,7 @@
* controller-wide by setting var $cacheAction = true, or in each action
* using $this->cacheAction = true.
*/
Configure::write('Cache.check', true);
Configure::write('Cache.check', false);
/**
* Defines the default error type when using the log() function. Used for
* differentiating error logging and debugging. Currently PHP supports LOG_DEBUG.
@ -196,7 +201,7 @@
* $cakeCache = array('Model', array(
* [optional] 'duration'=> 3600,
* [optional] 'probability'=> 100,
* [optional] 'name' => 'Cache',
* [optional] 'className' => 'Cache',
* [optional] 'fields' => array('data' => 'data', 'expires => 'expires'),
* [optional] 'serialize' => true,
* ));