]> git.llucax.com Git - software/blitiri.git/commitdiff
Apply os.path.realpath() to *_path config variables to support relative paths
authorLeandro Lucarella <luca@llucax.com.ar>
Mon, 4 Aug 2008 01:36:00 +0000 (22:36 -0300)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Thu, 7 Aug 2008 05:14:20 +0000 (02:14 -0300)
blitiri.cgi

index 1dadce5c3852d9140f69621d1747199449244e31..f13e59a5c0f03450d29fa5942007ebe7da4de0c7 100755 (executable)
@@ -60,6 +60,10 @@ except:
        pass
 
 
        pass
 
 
+# Pimp *_path config variables to support relative paths
+data_path = os.path.realpath(data_path)
+templates_path = os.path.realpath(templates_path)
+
 # Default template
 
 default_main_header = """
 # Default template
 
 default_main_header = """