Update nginx.sh

This commit is contained in:
FusionPBX 2017-04-01 15:34:06 -06:00 committed by GitHub
parent a06cbb795b
commit 723fb915f6
1 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,9 @@ cd "$(dirname "$0")"
. ./config.sh
. ./colors.sh
#set the current working directory
cwd=$(pwd)
#send a message
verbose "Installing the web server"
@ -46,6 +49,9 @@ if [ ."$php_version" = ."7" ]; then
cd /usr/ports/www/php70-session/ && make install clean BATCH=yes
fi
#reset the current working directory
cd $cwd
#update the list of executables in the path
rehash