mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
php: annoy Jos and Ad by enabling warnings by default...
... when using the core.git mount hook. :) Does not affect the packages/images.
This commit is contained in:
parent
8d1809edb3
commit
f6c6889d74
5
Makefile
5
Makefile
@ -14,13 +14,16 @@ install:
|
||||
# move all sources to their destination
|
||||
@mkdir -p ${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
|
||||
@mkdir -p ${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
|
||||
@cp ${.CURDIR}/pkg/pkg.conf ${DESTDIR}/usr/local/etc
|
||||
@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) | \
|
||||
xargs -n1 printf "/usr/local/%s\n"
|
||||
|
||||
|
||||
@ -115,7 +115,7 @@ zlib.output_compression = Off
|
||||
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"
|
||||
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
|
||||
log_errors=on
|
||||
error_log=/tmp/PHP_errors.log
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user