aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r--src/backend/taler-merchant-httpd.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c
index f14c2c7e..34bed4ad 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -2263,6 +2263,7 @@ run (void *cls,
if (GNUNET_SYSERR ==
TALER_config_get_currency (cfg,
+ "merchant",
&TMH_currency))
{
@@ -2317,7 +2318,14 @@ run (void *cls,
"merchant",
"FORCE_AUDIT"))
TMH_force_audit = GNUNET_YES;
- TALER_TEMPLATING_init ("merchant");
+ if (GNUNET_OK !=
+ TALER_TEMPLATING_init (TALER_EXCHANGE_project_data ()))
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Failed to setup templates\n");
+ GNUNET_SCHEDULER_shutdown ();
+ return;
+ }
if (GNUNET_OK !=
TMH_spa_init ())
{