mirror of
https://github.com/YunoHost-Apps/mediawiki_ynh.git
synced 2024-09-03 19:46:05 +02:00
Fix path
This commit is contained in:
parent
2701ae7971
commit
45f3eddba2
2 changed files with 3 additions and 2 deletions
|
@ -25,7 +25,7 @@ $wgSitename = "ynh_wiki_name";
|
||||||
## For more information on customizing the URLs
|
## For more information on customizing the URLs
|
||||||
## (like /w/index.php/Page_title to /wiki/Page_title) please see:
|
## (like /w/index.php/Page_title to /wiki/Page_title) please see:
|
||||||
## http://www.mediawiki.org/wiki/Manual:Short_URL
|
## http://www.mediawiki.org/wiki/Manual:Short_URL
|
||||||
$wgScriptPath = "";
|
$wgScriptPath = "ynh_wiki_path";
|
||||||
$wgScriptExtension = ".php";
|
$wgScriptExtension = ".php";
|
||||||
|
|
||||||
## The protocol and server name to use in fully-qualified URLs
|
## The protocol and server name to use in fully-qualified URLs
|
||||||
|
|
|
@ -40,7 +40,8 @@ sudo rm REL1_22
|
||||||
|
|
||||||
# Change variables in Mediawiki configuration
|
# 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$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_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_user/$db_user/g" $final_path/LocalSettings.php
|
||||||
sudo sed -i "s/ynh_wiki_db_password/$db_pwd/g" $final_path/LocalSettings.php
|
sudo sed -i "s/ynh_wiki_db_password/$db_pwd/g" $final_path/LocalSettings.php
|
||||||
|
|
Loading…
Reference in a new issue