Skip to content

Commit

Permalink
fix for ACO generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
fahad19 committed Aug 20, 2011
1 parent 8783e93 commit 73b2263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/acl/controllers/components/acl_generate.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function listControllers() {
*/
public function listActions($name, $path) {
// base methods
if (strpos($path, APP.'plugins') !== false) {
if (strstr($path, APP .'plugins')) {
$plugin = $this->getPluginFromPath($path);
$pacName = Inflector::camelize($plugin) . 'AppController'; // pac - PluginAppController
$pacPath = APP.'plugins'.DS.$plugin.DS.$plugin.'_app_controller.php';
Expand Down

0 comments on commit 73b2263

Please sign in to comment.