Commit f6c6889d authored by Franco Fichtner's avatar Franco Fichtner

php: annoy Jos and Ad by enabling warnings by default...

... when using the core.git mount hook.  :)

Does not affect the packages/images.
parent 8d1809ed
...@@ -14,13 +14,16 @@ install: ...@@ -14,13 +14,16 @@ install:
# move all sources to their destination # move all sources to their destination
@mkdir -p ${DESTDIR}/usr/local @mkdir -p ${DESTDIR}/usr/local
@cp -r ${.CURDIR}/src/* ${DESTDIR}/usr/local @cp -r ${.CURDIR}/src/* ${DESTDIR}/usr/local
# disable warnings for production systems
@sed -i '' -e 's/E_STRICT/E_STRICT | E_WARNING/g' \
${DESTDIR}/usr/local/etc/rc.php_ini_setup
# bootstrap pkg(8) files that are not in sources # bootstrap pkg(8) files that are not in sources
@mkdir -p ${DESTDIR}/usr/local/etc/pkg/repos @mkdir -p ${DESTDIR}/usr/local/etc/pkg/repos
@cp ${.CURDIR}/pkg/OPNsense.conf ${DESTDIR}/usr/local/etc/pkg/repos @cp ${.CURDIR}/pkg/OPNsense.conf ${DESTDIR}/usr/local/etc/pkg/repos
@echo /usr/local/etc/pkg/repos/OPNsense.conf @echo /usr/local/etc/pkg/repos/OPNsense.conf
@cp ${.CURDIR}/pkg/pkg.conf ${DESTDIR}/usr/local/etc @cp ${.CURDIR}/pkg/pkg.conf ${DESTDIR}/usr/local/etc
@echo /usr/local/etc/pkg.conf @echo /usr/local/etc/pkg.conf
# and finally pretty-print a list of files present # finally pretty-print a list of files present
@(cd ${.CURDIR}/src; find * -type f) | \ @(cd ${.CURDIR}/src; find * -type f) | \
xargs -n1 printf "/usr/local/%s\n" xargs -n1 printf "/usr/local/%s\n"
......
...@@ -115,7 +115,7 @@ zlib.output_compression = Off ...@@ -115,7 +115,7 @@ zlib.output_compression = Off
zlib.output_compression_level = 1 zlib.output_compression_level = 1
include_path = ".:/usr/local/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/opnsense/mvc:/usr/local/share/pear:/usr/local/opnsense/contrib" include_path = ".:/usr/local/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/opnsense/mvc:/usr/local/share/pear:/usr/local/opnsense/contrib"
ignore_repeated_errors = on ignore_repeated_errors = on
error_reporting = E_ALL ^ (E_WARNING | E_NOTICE | E_DEPRECATED | E_STRICT) error_reporting = E_ALL ^ (E_NOTICE | E_DEPRECATED | E_STRICT)
display_errors=on display_errors=on
log_errors=on log_errors=on
error_log=/tmp/PHP_errors.log error_log=/tmp/PHP_errors.log
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment