From 729541f280eada160399c6f424f867f0b131e56b Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Fri, 17 May 2019 16:41:14 +0900 Subject: [PATCH] Add missing correct smarty settings in edit order --- www/admin/edit_order.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/admin/edit_order.php b/www/admin/edit_order.php index 6cd4d472..cc532fb9 100644 --- a/www/admin/edit_order.php +++ b/www/admin/edit_order.php @@ -193,6 +193,12 @@ $CONTENT_DATA = array_merge($HEADER, $DATA, $DEBUG_DATA); foreach ($CONTENT_DATA as $key => $value) { $smarty->assign($key, $value); } +if (is_dir(BASE.TEMPLATES_C)) { + $smarty->setCompileDir(BASE.TEMPLATES_C); +} +if (is_dir(BASE.CACHE)) { + $smarty->setCacheDir(BASE.CACHE); +} $smarty->display('edit_order.tpl'); echo $login->printErrorMsg();