mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
changing cache() to allow writing to the tmp directory
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4299 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
6e56e926e7
commit
6257689e0d
1 changed files with 3 additions and 0 deletions
|
@ -1040,6 +1040,9 @@
|
|||
case 'public':
|
||||
$filename = WWW_ROOT . $path;
|
||||
break;
|
||||
case 'tmp':
|
||||
$filename = TMP . $path;
|
||||
break;
|
||||
}
|
||||
|
||||
$timediff = $expires - $now;
|
||||
|
|
Loading…
Reference in a new issue