forked from norman/fusionpbx-install.sh-github-mirror
Update PHP path
This commit is contained in:
@@ -68,7 +68,7 @@ if [ .$nginx_enabled = .'true' ]; then
|
|||||||
|
|
||||||
#update application defaults
|
#update application defaults
|
||||||
if [ .$nginx_enabled = .'true' ]; then
|
if [ .$nginx_enabled = .'true' ]; then
|
||||||
cd /usr/local/www/fusionpbx && /usr/bin/php /var/www/fusionpbx/core/upgrade/upgrade.php --defaults
|
cd /usr/local/www/fusionpbx && /usr/local/bin/php /var/www/fusionpbx/core/upgrade/upgrade.php --defaults
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#add the user
|
#add the user
|
||||||
@@ -97,11 +97,11 @@ if [ .$nginx_enabled = .'true' ]; then
|
|||||||
|
|
||||||
#update application defaults
|
#update application defaults
|
||||||
if [ .$nginx_enabled = .'true' ]; then
|
if [ .$nginx_enabled = .'true' ]; then
|
||||||
cd /usr/local/www/fusionpbx && /usr/bin/php /var/www/fusionpbx/core/upgrade/upgrade.php --defaults
|
cd /usr/local/www/fusionpbx && /usr/local/bin/php /var/www/fusionpbx/core/upgrade/upgrade.php --defaults
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#update permissions
|
#update permissions
|
||||||
#cd /var/www/fusionpbx && /usr/bin/php /var/www/fusionpbx/core/upgrade/upgrade.php --permissions
|
#cd /var/www/fusionpbx && /usr/local/bin/php /var/www/fusionpbx/core/upgrade/upgrade.php --permissions
|
||||||
|
|
||||||
#reset the current working directory
|
#reset the current working directory
|
||||||
cd $cwd
|
cd $cwd
|
||||||
|
|||||||
Reference in New Issue
Block a user