Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-07-16 17:28:43 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-07-16 17:28:43 +0300
commitd02cb095da5851e20f55a6bba715715a03f93eb7 (patch)
tree40d2c83f40f82cf2dbfc7ff3fd35765cdf2310bd /include/tests_php
parentaeb08cb80aca40d8014baedc505fb53aceda942c (diff)
[PHP-2376] Log to discovered item to report instead of logfile
Diffstat (limited to 'include/tests_php')
-rw-r--r--include/tests_php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_php b/include/tests_php
index 685a3165..98e5abf6 100644
--- a/include/tests_php
+++ b/include/tests_php
@@ -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