فهرست منبع

Remove config.php and chown

FusionPBX 2 سال پیش
والد
کامیت
2c86a8db1c
1فایلهای تغییر یافته به همراه0 افزوده شده و 9 حذف شده
  1. 0 9
      ubuntu/resources/finish.sh

+ 0 - 9
ubuntu/resources/finish.sh

@@ -30,17 +30,8 @@ chmod 755 /etc/cron.daily/fusionpbx-maintenance
 sed -i "s/zzz/$database_password/g" /etc/cron.daily/fusionpbx-backup
 sed -i "s/zzz/$database_password/g" /etc/cron.daily/fusionpbx-maintenance
 
-#add the config.php
-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:"
-
 #add the config.conf
 mkdir -p /etc/fusionpbx
-chown -R www-data:www-data /etc/fusionpbx
 cp fusionpbx/config.conf /etc/fusionpbx
 sed -i /etc/fusionpbx/config.conf -e s:"{database_host}:$database_host:"
 sed -i /etc/fusionpbx/config.conf -e s:'{database_username}:fusionpbx:'