From c78de040de1b8a2ed3d3ec1d22aae417e48ad94a Mon Sep 17 00:00:00 2001 From: abeudin Date: Sat, 21 Jun 2014 21:22:28 +0200 Subject: [PATCH] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 4d9c2b4..8f4556e 100755 --- a/scripts/install +++ b/scripts/install @@ -95,6 +95,6 @@ else mysql -u $db_user -p$db_pwd $db_user < ../conf/public.sql sudo cp ../conf/nginx.conf-public /etc/nginx/conf.d/$domain.d/wordpress.conf sudo service nginx reload - echo "define('FORCE_SSL_ADMIN', true);" | sudo tee -a $final_path/wp-config.php + sudo sed -i "s@//define('FORCE_SSL_ADMIN@define('FORCE_SSL_ADMIN@g" $final_path/wp-config.php fi sudo sed -i '/yunowordpress/d' /etc/hosts