Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Missing Config::

  • Loading branch information...
commit 263666f2ddfd8670494434ba368ec9e85905f106 1 parent ee44ec8
@kolber authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/cache.inc.php
View
2  app/cache.inc.php
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.