aboutsummaryrefslogtreecommitdiffstats
path: root/config.example.hy
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-08-07 23:19:38 +0200
committerGravatar Tom Willemse2013-08-07 23:23:30 +0200
commitc5699ecfa713d040849e2564b7196a77583adb8a (patch)
tree935201fd017573202ffd9be804410b0be462f57d /config.example.hy
parentebd4666b1737e33f43f34cbdcd49bc645a556bd3 (diff)
downloadhypo-c5699ecfa713d040849e2564b7196a77583adb8a.tar.gz
hypo-c5699ecfa713d040849e2564b7196a77583adb8a.zip
Add *prefix* option
`*prefix*' specifies which directory the application should run under. This is useful when not running it on a domain or sub-domain. This should contain a trailing `/' if used.
Diffstat (limited to 'config.example.hy')
-rw-r--r--config.example.hy5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.example.hy b/config.example.hy
index d9e945c..b606d2f 100644
--- a/config.example.hy
+++ b/config.example.hy
@@ -17,3 +17,8 @@
(def *dbuser* "") ; User to log in with
(def *dbpw* "") ; Password to log in with
(def *dbname* "") ; Database to use
+
+;; Prefix to use when running. This option should contain a trailing
+;; `/'. An example would be: if you're running this project under
+;; http://example.com/hypo/ you should use "hypo/".
+(def *prefix* "")