File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,9 @@ PATH="`dirname "$0"`:$PATH"
88
99# Strip out our PHP_INI_SCAN_DIR - if this file has been run succesfully, then it's not necessary,
1010# and it can cause problems (since it overrides any default scan directories configured)
11- export PHP_INI_SCAN_DIR=" ${PHP_INI_SCAN_DIR//: `echo $HTTP_TOOLKIT_OVERRIDE_PATH / php`/ } "
12- export PHP_INI_SCAN_DIR=" ${PHP_INI_SCAN_DIR// `echo $HTTP_TOOLKIT_OVERRIDE_PATH / php`/ } "
11+ export INJECTED_PHP_INI_DIR=$HTTP_TOOLKIT_OVERRIDE_PATH /php
12+ export PHP_INI_SCAN_DIR=" ${PHP_INI_SCAN_DIR//: $INJECTED_PHP_INI_DIR / } "
13+ export PHP_INI_SCAN_DIR=" ${PHP_INI_SCAN_DIR// $INJECTED_PHP_INI_DIR / } "
1314if [ -z " $PHP_INI_SCAN_DIR " ]; then
1415 unset PHP_INI_SCAN_DIR
1516fi
@@ -30,4 +31,4 @@ if command -v winpty >/dev/null 2>&1; then
3031 winpty " $real_php " " ${PHP_ARGS[@]} "
3132else
3233 " $real_php " " ${PHP_ARGS[@]} "
33- fi
34+ fi
You can’t perform that action at this time.
0 commit comments