Skip to content

Commit

Permalink
fix missing helper view
Browse files Browse the repository at this point in the history
- display the correct path
  • Loading branch information
antograssiot committed Aug 12, 2014
1 parent cd5fb7e commit b1a733e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Template/Error/missing_helper.ctp
Expand Up @@ -22,7 +22,7 @@ if (!empty($plugin) && Plugin::loaded($plugin)) {
$filePath = Plugin::classPath($plugin);
}
if (!empty($plugin) && !Plugin::loaded($plugin)) {
$filePath = APP_DIR . DS . 'Plugin' . DS . h($plugin) . DS;
$filePath = 'plugins' . DS . h($plugin) . DS . 'src' . DS;
}
?>
<h2>Missing Helper</h2>
Expand All @@ -31,7 +31,7 @@ if (!empty($plugin) && !Plugin::loaded($plugin)) {
<?= sprintf('<em>%s</em> could not be found.', h($pluginDot . $class)); ?>
<?php
if (!empty($plugin) && !Plugin::loaded($plugin)):
echo sprintf('Make sure your plugin %s is in the %s directory and was loaded.', h($plugin), APP_DIR . DS . 'Plugin');
echo sprintf('Make sure your plugin <em>%s</em> is in the %s directory and was loaded.', h($plugin), 'plugins');
endif;
?>
</p>
Expand Down

0 comments on commit b1a733e

Please sign in to comment.