Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions templates/Pages/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@

<?php $settings = Cache::getConfig('_cake_translations_'); ?>
<?php if (!empty($settings)) : ?>
<li class="bullet success">The <em><?= h($settings['className']) ?></em> is being used for core caching. To change the config edit config/app.php</li>
<li class="bullet success">The <em><?= h($settings['className']) ?></em> engine is being used for translations caching. To change the config edit <code>config/app.php</code></li>
<?php else : ?>
<li class="bullet problem">Your cache is NOT working. Please check the settings in config/app.php</li>
<li class="bullet problem">Your translations cache is NOT working. Please check the settings in config/app.php</li>
<?php endif; ?>
</ul>
</div>
Expand All @@ -175,6 +175,13 @@
<?php else : ?>
<li class="bullet problem">CakePHP is NOT able to connect to the database.<br /><?= h($result['error']) ?></li>
<?php endif; ?>

<?php $settings = Cache::getConfig('_cake_model_'); ?>
<?php if (!empty($settings)) : ?>
<li class="bullet success">The <em><?= h($settings['className']) ?></em> engine is being used for database schema caching. To change the config edit config/app.php</li>
<?php else : ?>
<li class="bullet problem">Your database schema cache is NOT working. Please check the settings in <code>config/app.php</code></li>
<?php endif; ?>
</ul>
</div>
<div class="column">
Expand Down