mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-02 17:42:41 +00:00
refactoring cache engines, adding tests, update configure fixes #3082
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5700 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
908f4c8a39
commit
4f8f7a7045
17 changed files with 720 additions and 497 deletions
|
@ -1122,7 +1122,7 @@
|
|||
*/
|
||||
function cache($path, $data = null, $expires = '+1 day', $target = 'cache') {
|
||||
|
||||
if (defined('DISABLE_CACHE')) {
|
||||
if (Configure::read('Cache.disable')) {
|
||||
return null;
|
||||
}
|
||||
$now = time();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue