mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
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:
parent
73e57b27d7
commit
548eeefdd0
1 changed files with 4 additions and 8 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue