mirror of
https://github.com/YunoHost-Apps/mediawiki_ynh.git
synced 2024-09-03 19:46:05 +02:00
Rectify config
This commit is contained in:
parent
04649976d8
commit
d34b45cb66
3 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@ location PATHTOCHANGE {
|
||||||
try_files $uri $uri/ index.php;
|
try_files $uri $uri/ index.php;
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
fastcgi_split_path_info ^(.+?\.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;
|
fastcgi_index index.php;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_param REMOTE_USER $remote_user;
|
fastcgi_param REMOTE_USER $remote_user;
|
||||||
|
|
|
@ -33,8 +33,8 @@
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Choose a name"
|
"en": "Choose a name"
|
||||||
},
|
},
|
||||||
"example": "My Wiki",
|
"example": "MyWiki",
|
||||||
"default": "My Wiki"
|
"default": "MyWiki"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "language",
|
"name": "language",
|
||||||
|
|
|
@ -39,7 +39,7 @@ sudo rm -R wikimedia-mediawiki-extensions-LdapAuthentication*
|
||||||
sudo rm REL1_22
|
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/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
|
||||||
|
|
Loading…
Reference in a new issue