Skip to content

Commit

Permalink
Merge pull request #1004 from cakephp/ADmad-patch-1
Browse files Browse the repository at this point in the history
Add check for zend.assertions on default homepage
  • Loading branch information
dereuromark authored Jun 8, 2024
2 parents 10ac5c1 + 123e92a commit 501ae31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/Pages/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@
<?php else : ?>
<li class="bullet problem">Your version of PHP does NOT have the intl extension loaded.</li>
<?php endif; ?>

<?php if (ini_get('zend.assertions') !== '1') : ?>
<li class="bullet problem">You should set <code>zend.assertions</code> to <code>1</code> in your <code>php.ini</code> for your development environment.</li>
<?php endif; ?>
</ul>
</div>
<div class="column">
Expand Down

0 comments on commit 501ae31

Please sign in to comment.