Skip to content
Permalink
Browse files

Checking mbstring in default home page

  • Loading branch information...
jrbasso committed Sep 14, 2012
1 parent e7af1be commit 556408132d0154c048d0cc2928600f5cdc0ecc35
Showing with 26 additions and 0 deletions.
  1. +13 −0 App/View/Pages/home.ctp
  2. +13 −0 lib/Cake/Console/Templates/skel/View/Pages/home.ctp
@@ -53,6 +53,19 @@ endif;
endif;
?>
</p>
<p>
<?php
if (extension_loaded('mbstring')):
echo '<span class="notice success">';
echo __d('cake_dev', 'Your version of PHP has mbstring extension loaded.');
echo '</span>';
else:
echo '<span class="notice">';
echo __d('cake_dev', 'Your version of PHP do NOT have mbstring extension loaded.');
echo '</span>';
endif;
?>
</p>
<p>
<?php
if (is_writable(TMP)):
@@ -55,6 +55,19 @@ endif;
endif;
?>
</p>
<p>
<?php
if (extension_loaded('mbstring')):
echo '<span class="notice success">';
echo __d('cake_dev', 'Your version of PHP has mbstring extension loaded.');
echo '</span>';
else:
echo '<span class="notice">';
echo __d('cake_dev', 'Your version of PHP do NOT have mbstring extension loaded.');
echo '</span>';
endif;
?>
</p>
<p>
<?php
if (is_writable(TMP)):

0 comments on commit 5564081

Please sign in to comment.
You can’t perform that action at this time.