1,6 → 1,6 |
--- a/lib/template_expand.c |
+++ b/lib/template_expand.c |
@@ -496,11 +496,11 @@ template_expand_call(struct template_cal |
@@ -475,11 +475,11 @@ template_expand_call(struct template_cal |
char *s, *t; |
char *err = NIL; |
|
16,7 → 16,7 |
if (!template) { |
str_printf(state->error, |
"Template \"%s\" not found (CALL from template \"%s\")\n", |
@@ -579,11 +579,11 @@ template_expand(char *name, struct templ |
@@ -558,11 +558,11 @@ template_expand(char *name, struct templ |
struct str *error = tvals->error; |
char *err; |
|
31,15 → 31,15 |
+ |
if (!template) { |
str_printf(tvals->error, |
"Template %s not found (top level template_expand())", |
"Template %s not found (top level template_expand())\n", |
--- a/files/etc/prayer.cf.SRC |
+++ b/files/etc/prayer.cf.SRC |
@@ -450,7 +447,7 @@ pid_dir = "$var_prefix" |
@@ -444,7 +444,7 @@ pid_dir = "$var_prefix" |
###################################################################### |
# Template stuff |
|
-template_path = "__PREFIX__/templates" |
+template_path = "/etc/prayer/templates" |
template_set = "xhtml_strict" |
template_set = "old" |
template_use_compiled = TRUE |
|