updating home.ctp

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6070 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2007-11-24 18:40:56 +00:00
parent 1e6d7c971f
commit 7fae75753d

View file

@ -23,17 +23,13 @@ endif;
<?php
\$settings = Cache::settings();
if (!empty(\$settings)):
echo '<div class=\"notice success\">';
echo '<p>';
echo '<span class=\"notice success\">';
echo sprintf(__('The %s is being used for caching. To change the config edit APP/config/core.php ', true), '<em>'. \$settings['engine'] . 'Engine</em>');
echo '</p>';
echo '</div>';
echo '</span>';
else:
echo '<div class=\"notice\">';
echo '<p>';
echo '<span class=\"notice\">';
__('Your cache is NOT working. Please check the settings in APP/config/core.php');
echo '</p>';
echo '</div>';
echo '</span>';
endif;
?>
</p>