[web-wiki] master: Allow data dir to be set by environment variable

From: Date: Tue, 01 Apr 2025 09:33:19 +0000
Subject: [web-wiki] master: Allow data dir to be set by environment variable
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-32824@lists.php.net to get a copy of this message
Author: Derick Rethans (derickr) Date: 2025-04-01T10:23:52+01:00 Commit: https://github.com/php/web-wiki/commit/a57f854e0d879bbec0e6b16e13e891b675104f1c Raw diff: https://github.com/php/web-wiki/commit/a57f854e0d879bbec0e6b16e13e891b675104f1c.diff Allow data dir to be set by environment variable Changed paths: M dokuwiki/conf/local.php Diff: diff --git a/dokuwiki/conf/local.php b/dokuwiki/conf/local.php index 4c47de64..fd3f9a4d 100755 --- a/dokuwiki/conf/local.php +++ b/dokuwiki/conf/local.php @@ -25,6 +25,8 @@ $conf['breadcrumbs'] = 0; $conf['youarehere'] = 1; $conf['baseurl'] = getenv('web-wiki-development-setup-baseurl') ?: 'https://wiki.php.net'; +$conf['savedir'] = getenv('WIKI_DATA_DIR') ?: './data'; + $conf['plugin']['smtp']['smtp_host'] = 'mailout.php.net'; $conf['plugin']['smtp']['smtp_ssl'] = 'tls'; $conf['plugin']['htmlok']['htmlok'] = 1;

« previous php.webmaster (#32824) next »