Permalink
Browse files

Making CacheHelper create $this->Html style helper references.

  • Loading branch information...
1 parent 6749e11 commit 2db479dc90ac74c72beaa70d00f3c881e60ad754 @markstory markstory committed Dec 29, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 cake/libs/view/helpers/cache.php
@@ -256,6 +256,7 @@ function __writeFile($content, $timestamp, $useCallbacks = false) {
$camelBackedHelper = Inflector::variable($helper);
${$camelBackedHelper} =& $loadedHelpers[$helper];
$this->loaded[$camelBackedHelper] =& ${$camelBackedHelper};
+ $this->{$helper} =& $loadedHelpers[$helper];
}
?>';
$content = preg_replace("/(<\\?xml)/", "<?php echo '$1';?>",$content);

0 comments on commit 2db479d

Please sign in to comment.