diff --git a/include/tests_php b/include/tests_php index 6e4d44f9..120b7dcb 100644 --- a/include/tests_php +++ b/include/tests_php @@ -292,7 +292,11 @@ FOUND=0 for FILE in ${PHPINI_ALLFILES}; do # Don't look at this setting in cli configuration - if [[ ${FILE} == *"/cli/"* ]]; then continue; fi + case "${FILE}" in + */cli/*) + continue + ;; + esac LogText "Test: Checking file ${FILE}" FIND=$(${EGREPBINARY} -i 'expose_php.*(on|yes|1)' ${FILE} | ${GREPBINARY} -v '^;') if HasData "${FIND}"; then