Skip to content

Commit

Permalink
Fixed bug in CacheHelper where PluginAppController was not being loaded
Browse files Browse the repository at this point in the history
Signed-off-by: mark_story <mark@mark-story.com>
  • Loading branch information
tigrang authored and markstory committed Jan 29, 2012
1 parent fb3c3e4 commit 30d6341
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Cake/View/Helper/CacheHelper.php
Expand Up @@ -271,6 +271,7 @@ protected function _writeFile($content, $timestamp, $useCallbacks = false) {
"; ";
} else { } else {
$file .= " $file .= "
App::uses('{$this->_View->plugin}AppController', '{$this->_View->plugin}.Controller');
App::uses('{$this->_View->name}Controller', '{$this->_View->plugin}.Controller'); App::uses('{$this->_View->name}Controller', '{$this->_View->plugin}.Controller');
"; ";
} }
Expand Down

0 comments on commit 30d6341

Please sign in to comment.