Skip to content
This repository was archived by the owner on Jan 9, 2018. It is now read-only.

Commit ed21ff8

Browse files
committed
Added assertion directives to installer
1 parent abf1965 commit ed21ff8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

installer.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ else
262262
echo "asp_tags=0" >> "./bin/php7/bin/php.ini"
263263
echo "phar.readonly=0" >> "./bin/php7/bin/php.ini"
264264
echo "phar.require_hash=1" >> "./bin/php7/bin/php.ini"
265+
echo "zend.assertions=-1" >> "$DIR/bin/php7/bin/php.ini"
265266
echo " done"
266267
alldone=yes
267268
else
@@ -305,6 +306,7 @@ else
305306
echo "asp_tags=0" >> "./bin/php7/bin/php.ini"
306307
echo "phar.readonly=0" >> "./bin/php7/bin/php.ini"
307308
echo "phar.require_hash=1" >> "./bin/php7/bin/php.ini"
309+
echo "zend.assertions=-1" >> "$DIR/bin/php7/bin/php.ini"
308310
echo " done"
309311
alldone=yes
310312
else
@@ -352,6 +354,7 @@ else
352354
echo "asp_tags=0" >> "./bin/php7/bin/php.ini"
353355
echo "phar.readonly=0" >> "./bin/php7/bin/php.ini"
354356
echo "phar.require_hash=1" >> "./bin/php7/bin/php.ini"
357+
echo "zend.assertions=-1" >> "$DIR/bin/php7/bin/php.ini"
355358
echo " done"
356359
alldone=yes
357360
else
@@ -388,6 +391,7 @@ else
388391
echo "asp_tags=0" >> "./bin/php7/bin/php.ini"
389392
echo "phar.readonly=0" >> "./bin/php7/bin/php.ini"
390393
echo "phar.require_hash=1" >> "./bin/php7/bin/php.ini"
394+
echo "zend.assertions=-1" >> "$DIR/bin/php7/bin/php.ini"
391395
echo " done"
392396
alldone=yes
393397
else
@@ -441,6 +445,7 @@ else
441445
echo "asp_tags=0" >> "./bin/php7/bin/php.ini"
442446
echo "phar.readonly=0" >> "./bin/php7/bin/php.ini"
443447
echo "phar.require_hash=1" >> "./bin/php7/bin/php.ini"
448+
echo "zend.assertions=-1" >> "$DIR/bin/php7/bin/php.ini"
444449
echo " done"
445450
alldone=yes
446451
else

0 commit comments

Comments
 (0)