mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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:
parent
2ef118c3c4
commit
e8dfaa322e
2 changed files with 15 additions and 4 deletions
|
@ -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,
|
||||
* ));
|
||||
|
|
|
@ -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,
|
||||
* ));
|
||||
|
|
Loading…
Reference in a new issue