diff --git a/.envrc.sample b/.envrc.sample index 0f35ba8..597d314 100644 --- a/.envrc.sample +++ b/.envrc.sample @@ -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 diff --git a/LocalSettings.php.tmpl b/LocalSettings.php.tmpl index b5b8719..a015db0 100644 --- a/LocalSettings.php.tmpl +++ b/LocalSettings.php.tmpl @@ -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