forked from norman/fusionpbx-install.sh-github-mirror
make database host dynamic. (#334)
Co-authored-by: Gill Abada <gill@callifi.com>
This commit is contained in:
@@ -69,6 +69,7 @@ cd $cwd
|
||||
mkdir -p /etc/fusionpbx
|
||||
chown -R www-data:www-data /etc/fusionpbx
|
||||
cp fusionpbx/config.php /etc/fusionpbx
|
||||
sed -i /etc/fusionpbx/config.php -e s:"{database_host}:$database_host:"
|
||||
sed -i /etc/fusionpbx/config.php -e s:'{database_username}:fusionpbx:'
|
||||
sed -i /etc/fusionpbx/config.php -e s:"{database_password}:$database_password:"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user