File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ protected function _prepare(): array
6262 'error_reporting ' => ini_get ('error_reporting ' ),
6363 'upload_max_filesize ' => ini_get ('upload_max_filesize ' ),
6464 'post_max_size ' => ini_get ('post_max_size ' ),
65+ 'zend.assertions ' => ini_get ('zend.assertions ' ),
6566 ];
6667
6768 // CakePHP Data
Original file line number Diff line number Diff line change 3434<div class="c-environment-panel">
3535 <h2>CakePHP Version: <?= Configure::version () ?> </h2>
3636
37+ <?php if (ini_get ('zend.assertions ' ) !== '1 ' ) : ?>
38+ <div class="c-flash c-flash--warning">
39+ You should set <code>zend.assertions</code> to <code>1</code>
40+ in your <code>php.ini</code> for your development environment.
41+ </div>
42+ <?php endif ; ?>
43+
3744 <h3>Application Constants</h3>
3845
3946 <?php if (!empty ($ app )) : ?>
You can’t perform that action at this time.
0 commit comments