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:
phpnut 2007-01-17 02:41:02 +00:00
parent 6e56e926e7
commit 6257689e0d

View file

@ -1040,6 +1040,9 @@
case 'public':
$filename = WWW_ROOT . $path;
break;
case 'tmp':
$filename = TMP . $path;
break;
}
$timediff = $expires - $now;