Permalink
Browse files

Clarify which cache is using the indicated engine.

  • Loading branch information...
1 parent ace9fef commit 5cf5ee441003826b7f9dd77dd9983d474fae68e4 @markstory markstory committed Feb 4, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 app/View/Pages/home.ctp
  2. +2 −2 lib/Cake/Console/Templates/default/views/home.ctp
@@ -66,7 +66,7 @@ endif;
$settings = Cache::settings();
if (!empty($settings)):
echo '<span class="notice success">';
- echo __d('cake_dev', 'The %s is being used for caching. To change the config edit APP/Config/core.php ', '<em>'. $settings['engine'] . 'Engine</em>');
+ echo __d('cake_dev', 'The %s is being used for core caching. To change the config edit APP/Config/core.php ', '<em>'. $settings['engine'] . 'Engine</em>');
echo '</span>';
else:
echo '<span class="notice">';
@@ -39,10 +39,10 @@ endif;
</p>
<p>
<?php
- \$settings = Cache::settings();
+ \$settings = Cache::settings('_cake_core_');
if (!empty(\$settings)):
echo '<span class=\"notice success\">';
- echo __d('cake_dev', 'The %s is being used for caching. To change the config edit APP/Config/core.php ', '<em>'. \$settings['engine'] . 'Engine</em>');
+ echo __d('cake_dev', 'The %s is being used for core caching. To change the config edit APP/Config/core.php ', '<em>'. \$settings['engine'] . 'Engine</em>');
echo '</span>';
else:
echo '<span class=\"notice\">';

0 comments on commit 5cf5ee4

Please sign in to comment.