1.1 --- a/imip_store.py Fri Oct 24 00:25:32 2014 +0200
1.2 +++ b/imip_store.py Fri Oct 24 16:31:14 2014 +0200
1.3 @@ -5,8 +5,13 @@
1.4 from os import makedirs
1.5 from vCalendar import iterwrite
1.6
1.7 +# The location of the stored calendar information.
1.8 +
1.9 STORE_DIR = "/var/lib/imip-agent/store"
1.10 -PUBLISH_DIR = "/var/www/imip-agent"
1.11 +
1.12 +# The location of published static free/busy information.
1.13 +
1.14 +PUBLISH_DIR = "/var/www/imip-agent/static"
1.15
1.16 def check_dir(base, dir):
1.17 return commonprefix([base, abspath(dir)]) == base