File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -470,14 +470,14 @@ install:
470
470
php_ini_dir=$(echo $ini | sed -n 's/\(.*\)\/conf.d/\1/p')
471
471
if [ -z "${php_ini_dir}" ]; then
472
472
if [[ "$dirs" == "$WEB_INI_DIR" ]]; then
473
- if [[ -d "${ini}/../apache2/conf.d " ]]; then
474
- php_ini_dir="${ini}/../apache2/conf.d "
473
+ if [[ -d "${ini}/../apache2" ]]; then
474
+ php_ini_dir="${ini}/../apache2"
475
475
fi
476
- if [[ -d "${ini}/../fpm/conf.d " ]]; then
477
- php_ini_dir="${ini}/../fpm/conf.d "
476
+ if [[ -d "${ini}/../fpm" ]]; then
477
+ php_ini_dir="${ini}/../fpm"
478
478
fi
479
479
elif [[ "$dirs" == "$CLI_INI_DIR" ]]; then
480
- php_ini_dir="${php_ini_dir}/../cli/conf.d "
480
+ php_ini_dir="${php_ini_dir}/../cli"
481
481
else
482
482
echo -e "something went wrong while checking for paths"
483
483
php_ini_dir=${ini}
You can’t perform that action at this time.
0 commit comments