From de5da559c2098ad8eb7534cb18e4748dc5c418a8 Mon Sep 17 00:00:00 2001 From: Mitan Omar Date: Wed, 13 Feb 2019 19:41:51 +0100 Subject: [PATCH] Update go.php to allow the developers to defining the path of their templates --- go.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/go.php b/go.php index 0eb37a1..b5059bc 100755 --- a/go.php +++ b/go.php @@ -19,6 +19,7 @@ require_once 'includes/common.php'; $current_go_case = g('go'); $show_style = true; +$styleePath = null; is_array($plugin_run_result = Plugins::getInstance()->run('begin_go_page', get_defined_vars())) ? extract($plugin_run_result) : null; //run hook @@ -675,6 +676,6 @@ $titlee = empty($titlee) ? '' : $titlee; if($show_style) { Saaheader($titlee); - echo $tpl->display($stylee); + echo $tpl->display($stylee , $styleePath); Saafooter(); }