From d34b45cb6672b40555f3d31d7dc878cc4eaa8eb3 Mon Sep 17 00:00:00 2001 From: Elie Date: Tue, 6 May 2014 21:18:00 -0400 Subject: [PATCH] Rectify config --- conf/nginx.conf | 2 +- manifest.json | 4 ++-- scripts/install | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 18db1eb..52ed6bb 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -8,7 +8,7 @@ location PATHTOCHANGE { try_files $uri $uri/ index.php; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; - fastcgi_pass unix:/var/run/php5-fpm-mediawiki.sock; + fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; include fastcgi_params; fastcgi_param REMOTE_USER $remote_user; diff --git a/manifest.json b/manifest.json index 3b6b260..36250c1 100644 --- a/manifest.json +++ b/manifest.json @@ -33,8 +33,8 @@ "ask": { "en": "Choose a name" }, - "example": "My Wiki", - "default": "My Wiki" + "example": "MyWiki", + "default": "MyWiki" }, { "name": "language", diff --git a/scripts/install b/scripts/install index 6df7fb2..fcd2cda 100644 --- a/scripts/install +++ b/scripts/install @@ -39,7 +39,7 @@ sudo rm -R wikimedia-mediawiki-extensions-LdapAuthentication* sudo rm REL1_22 # Change variables in Mediawiki configuration -sudo sed -i "s/ynh_wiki_name/$wiki_name/g" $final_path/LocalSettings.php +sudo sed -i "s/ynh_wiki_name/'$wiki_name'/g" $final_path/LocalSettings.php sudo sed -i "s/ynh_wiki_domain/$domain/g" $final_path/LocalSettings.php sudo sed -i "s/ynh_wiki_db_name/$db_user/g" $final_path/LocalSettings.php sudo sed -i "s/ynh_wiki_db_user/$db_user/g" $final_path/LocalSettings.php