From 45f3eddba2d06c2ba4761b64ced7e4f4052de886 Mon Sep 17 00:00:00 2001 From: Elie Date: Wed, 7 May 2014 21:16:44 -0400 Subject: [PATCH] Fix path --- conf/LocalSettings.php | 2 +- scripts/install | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/LocalSettings.php b/conf/LocalSettings.php index b81fc22..b8361dd 100755 --- a/conf/LocalSettings.php +++ b/conf/LocalSettings.php @@ -25,7 +25,7 @@ $wgSitename = "ynh_wiki_name"; ## For more information on customizing the URLs ## (like /w/index.php/Page_title to /wiki/Page_title) please see: ## http://www.mediawiki.org/wiki/Manual:Short_URL -$wgScriptPath = ""; +$wgScriptPath = "ynh_wiki_path"; $wgScriptExtension = ".php"; ## The protocol and server name to use in fully-qualified URLs diff --git a/scripts/install b/scripts/install index 7fafb2e..1d14e73 100644 --- a/scripts/install +++ b/scripts/install @@ -40,7 +40,8 @@ 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_domain@$domain$path@g" $final_path/LocalSettings.php +sudo sed -i "s@ynh_wiki_path@$path@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 sudo sed -i "s/ynh_wiki_db_password/$db_pwd/g" $final_path/LocalSettings.php