Customisable logo path

This commit is contained in:
3wc 2020-09-18 20:41:10 +02:00
parent b326e20c4c
commit ec4c8afcea
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ export MEDIAWIKI_SITENAME="Example Wiki"
export MEDIAWIKI_SITENAMESPACE="Example_Wiki"
export MEDIAWIKI_EMAIL_CONTACT="info@wiki.example.com"
export MEDIAWIKI_EMAIL_FROM="wiki@wiki.example.com"
export MEDIAWIKI_LOGO_FILE='$wgResourceBasePath/resources/assets/wiki.png'
export DB_ROOT_PASSWORD_VERSION=v1
export DB_PASSWORD_VERSION=v1

View File

@ -39,7 +39,7 @@ $wgResourceBasePath = $wgScriptPath;
## The URL path to the logo. Make sure you change this from the default,
## or else you'll overwrite your logo when you upgrade!
$wgLogo = "$wgResourceBasePath/resources/assets/wiki.png";
$wgLogo = "{{ env "MEDIAWIKI_LOGO_FILE" }}";
## UPO means: this is also a user preference option