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"
8
8
9
9
# Strip out our PHP_INI_SCAN_DIR - if this file has been run succesfully, then it's not necessary,
10
10
# 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 / } "
13
14
if [ -z " $PHP_INI_SCAN_DIR " ]; then
14
15
unset PHP_INI_SCAN_DIR
15
16
fi
@@ -30,4 +31,4 @@ if command -v winpty >/dev/null 2>&1; then
30
31
winpty " $real_php " " ${PHP_ARGS[@]} "
31
32
else
32
33
" $real_php " " ${PHP_ARGS[@]} "
33
- fi
34
+ fi
You can’t perform that action at this time.
0 commit comments