mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Making CacheHelper create $this->Html style helper references.
This commit is contained in:
parent
6749e1166b
commit
2db479dc90
1 changed files with 1 additions and 0 deletions
|
@ -256,6 +256,7 @@ class CacheHelper extends AppHelper {
|
|||
$camelBackedHelper = Inflector::variable($helper);
|
||||
${$camelBackedHelper} =& $loadedHelpers[$helper];
|
||||
$this->loaded[$camelBackedHelper] =& ${$camelBackedHelper};
|
||||
$this->{$helper} =& $loadedHelpers[$helper];
|
||||
}
|
||||
?>';
|
||||
$content = preg_replace("/(<\\?xml)/", "<?php echo '$1';?>",$content);
|
||||
|
|
Loading…
Add table
Reference in a new issue