Browse Source

Fixed bug in CacheHelper where PluginAppController was not being loaded

Signed-off-by: mark_story <mark@mark-story.com>
Tigran Gabrielyan 14 years ago
parent
commit
30d6341e7f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/Cake/View/Helper/CacheHelper.php

+ 1 - 0
lib/Cake/View/Helper/CacheHelper.php

@@ -271,6 +271,7 @@ class CacheHelper extends AppHelper {
 			";
 		} else {
 			$file .= "
+			App::uses('{$this->_View->plugin}AppController', '{$this->_View->plugin}.Controller');
 			App::uses('{$this->_View->name}Controller', '{$this->_View->plugin}.Controller');
 			";
 		}