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