Permalink
Browse files

Missing Config::

  • Loading branch information...
1 parent ee44ec8 commit 263666f2ddfd8670494434ba368ec9e85905f106 @kolber committed Jun 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/cache.inc.php
View
@@ -11,7 +11,7 @@ function __construct($file_path, $template_file) {
# generate an md5 hash from the file_path
$this->path_hash = $this->generate_hash($file_path);
# generate an md5 hash from the current state of the site content
- $htaccess = file_exists($root_folder.'.htaccess') ? '.htaccess:'.filemtime($root_folder.'.htaccess') : '';
+ $htaccess = file_exists(Config::$root_folder.'.htaccess') ? '.htaccess:'.filemtime(Config::$root_folder.'.htaccess') : '';
$file_cache = serialize(Helpers::file_cache());
$content_hash = $this->generate_hash($htaccess.$file_cache);
# combine the two hashes to create a cachefile name

0 comments on commit 263666f

Please sign in to comment.