Permalink
Browse files

use CACHE constant instead of TMP . 'cache' . DS

  • Loading branch information...
1 parent 0cd3c75 commit de3f2ab8758aceb5761534a7ec3fc334746922ef @ceeram committed Apr 16, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 libs/clear_cache.php
View
@@ -6,12 +6,12 @@ class ClearCache {
function run() {
clearCache();
$return = array();
+
$paths = array(
- TMP . 'cache' . DS . 'models',
- TMP . 'cache' . DS . 'persistent',
- TMP . 'cache' . DS . 'views',
+ CACHE . 'models',
+ CACHE . 'persistent',
+ CACHE . 'views',
);
-
$folder = new Folder();
foreach ($paths as $path) {

0 comments on commit de3f2ab

Please sign in to comment.