summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-05-15 18:20:52 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-05-15 18:20:52 -0400
commit0438de905b1009c02e653f11983f2ad501b02a30 (patch)
tree0930d9bf804830d6c2d242d92bd08fbde797bf78 /doc
parentc7b1eb242fc5b910f138aeadbae7a232badba84f (diff)
ENV can be used in the setup file to override environment variable setting, such as TZ or PATH.
Diffstat (limited to 'doc')
-rw-r--r--doc/ikiwiki.setup6
-rw-r--r--doc/todo/configurable_timezones.mdwn2
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/ikiwiki.setup b/doc/ikiwiki.setup
index 7813eb822..3d3c2a7f6 100644
--- a/doc/ikiwiki.setup
+++ b/doc/ikiwiki.setup
@@ -143,6 +143,12 @@ use IkiWiki::Setup::Standard {
#disable_plugins => [qw{inline htmlscrubber passwordauth openid}],
# To add a directory to the perl search path, use this.
#libdir => "/home/me/.ikiwiki/",
+
+ # To override environment variable settings, you can list values here.
+ #ENV => {
+ # TZ => "America/New_York",
+ # PATH => "/home/me/bin:/usr/local/bin:/usr/bin:/bin",
+ #},
# For use with the tag plugin, make all tags be located under a
# base page.
diff --git a/doc/todo/configurable_timezones.mdwn b/doc/todo/configurable_timezones.mdwn
index 594cc0f1f..3ed50503a 100644
--- a/doc/todo/configurable_timezones.mdwn
+++ b/doc/todo/configurable_timezones.mdwn
@@ -1,3 +1,5 @@
It would be nice if the sure could set the timezone of the wiki, and have ikiwiki render the pages with that timezone.
This is nice for shared hosting, and other situation where the user doesn't have control over the server timezone.
+
+> [[done]] via the ENV setting in the setup file. --[[Joey]]