Commit f88210b4 authored by Franco Fichtner's avatar Franco Fichtner

rc: if -devel package allow phar for unit testing

parent fed56b4a
...@@ -81,6 +81,10 @@ error_log=/tmp/PHP_errors.log ...@@ -81,6 +81,10 @@ error_log=/tmp/PHP_errors.log
extension_dir=${EXTENSIONSDIR} extension_dir=${EXTENSIONSDIR}
date.timezone="${TIMEZONE}" date.timezone="${TIMEZONE}"
[xdebug]
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_name = cachegrind.out.%t.%p
[suhosin] [suhosin]
suhosin.get.max_array_depth = 5000 suhosin.get.max_array_depth = 5000
suhosin.get.max_array_index_length = 256 suhosin.get.max_array_index_length = 256
...@@ -96,12 +100,14 @@ suhosin.request.max_vars = 5000 ...@@ -96,12 +100,14 @@ suhosin.request.max_vars = 5000
suhosin.request.max_value_length = 9000000 suhosin.request.max_value_length = 9000000
suhosin.memory_limit = 512435456 suhosin.memory_limit = 512435456
suhosin.session.cryptdocroot=Off suhosin.session.cryptdocroot=Off
suhosin.executor.include.whitelist = phar:// EOF
[xdebug] PKGNAME="/usr/local/opnsense/version/opnsense.name"
xdebug.profiler_enable_trigger = 1 if [ -f ${PKGNAME} -a "$(grep -c -- -devel$ ${PKGNAME})" != "0" ]; then
xdebug.profiler_output_name = cachegrind.out.%t.%p cat >> ${PHP_INI} << EOF
suhosin.executor.include.whitelist = phar://
EOF EOF
fi
cp ${PHP_INI} /usr/local/etc/php.ini cp ${PHP_INI} /usr/local/etc/php.ini
cp ${PHP_INI} /usr/local/lib/php.ini cp ${PHP_INI} /usr/local/lib/php.ini
......
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