Skip to content

Commit 501ae31

Browse files
authored
Merge pull request #1004 from cakephp/ADmad-patch-1
Add check for zend.assertions on default homepage
2 parents 10ac5c1 + 123e92a commit 501ae31

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

templates/Pages/home.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@
134134
<?php else : ?>
135135
<li class="bullet problem">Your version of PHP does NOT have the intl extension loaded.</li>
136136
<?php endif; ?>
137+
138+
<?php if (ini_get('zend.assertions') !== '1') : ?>
139+
<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>
140+
<?php endif; ?>
137141
</ul>
138142
</div>
139143
<div class="column">

0 commit comments

Comments
 (0)