Skip to content

Commit 122a889

Browse files
committed
Fix filtering of INI directives to respect leading whitespaces
Directives are now correctly filtered out if the line in the php.ini file begins with whitespace characters.
1 parent 670052c commit 122a889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/Makefile.global

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ PHP_TEST_SHARED_EXTENSIONS = ` \
8383
. $$i; $(top_srcdir)/build/shtool echo -n -- " -d zend_extension=$(top_builddir)/modules/$$dlname"; \
8484
done; \
8585
fi`
86-
PHP_DEPRECATED_DIRECTIVES_REGEX = '^(magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?)[\t\ ]*='
86+
PHP_DEPRECATED_DIRECTIVES_REGEX = '^[\t\ ]*(magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?)[\t\ ]*='
8787

8888
test: all
8989
@if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \

0 commit comments

Comments
 (0)