updating home.ctp

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6072 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2007-11-24 18:47:53 +00:00
parent 73e57b27d7
commit 548eeefdd0

View file

@ -48,17 +48,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>