[PHP-2376] Log to discovered item to report instead of logfile

This commit is contained in:
Michael Boelen 2016-07-16 16:28:43 +02:00
parent aeb08cb80a
commit d02cb095da
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@
FIND=`egrep -i 'allow_url_fopen.*(off|no|0)' ${PHPINIFILE} | grep -v '^;'`
if [ "${FIND}" = "" ]; then
Display --indent 4 --text "- Checking allow_url_fopen option" --result "${STATUS_ON}" --color YELLOW
Report "Result: allow_url_fopen option is turned on, which can be used for riskful downloads via PHP"
LogText "Result: allow_url_fopen option is turned on, which can be used for riskful downloads via PHP"
ReportSuggestion ${TEST_NO} "Change the allow_url_fopen line to: allow_url_fopen = Off, to disable downloads via PHP"
AddHP 0 1
else