From 6a54c7817bb71fde9234e7b89e87f1f349920ea1 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sat, 11 Apr 2009 12:59:58 +0200 Subject: User customizable image directories --- src/setup.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/setup.h') diff --git a/src/setup.h b/src/setup.h index 7fb32bd..4cd2629 100644 --- a/src/setup.h +++ b/src/setup.h @@ -23,9 +23,9 @@ /* Directory names */ -#define THUMBNAIL_DIR "_thumb" -#define IMG_BIG_DIR "_big" -#define IMG_ORIG_DIR "_orig" +#define DEFAULT_THUMBNAIL_DIR "_thumb" +#define DEFAULT_IMG_BIG_DIR "_big" +#define DEFAULT_IMG_ORIG_DIR "_orig" #define SETUP_XML "setup.xml" #define DEFAULT_INDEX_FILENAME "index.html" @@ -46,6 +46,9 @@ typedef struct { char **template_files; gboolean support_files_use_common_root; char *index_file_name; + char *thumbnail_dir; + char *img_big_dir; + char *img_orig_dir; char *footer; char *meta_author; -- cgit v1.2.3