From 484e7a74f054bdc409d220a7c170621d3d672e40 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Tue, 19 Jul 2011 22:22:23 +0000 Subject: [PATCH] smarty.inc.php: - prefix $CONF['theme_custom_css'] with $CONF['postfix_admin_url'] - difference to Dale's patch: only do this if $CONF[theme_custom_css] is not empty This commit is part of the huge cleanup patch by Dale Blount (lnxus@SF), https://sourceforge.net/tracker/?func=detail&atid=937966&aid=3370510&group_id=191583 git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1097 a1433add-5e2c-0410-b055-b7f2511e0802 --- smarty.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/smarty.inc.php b/smarty.inc.php index c077514a..6fe3313c 100644 --- a/smarty.inc.php +++ b/smarty.inc.php @@ -53,6 +53,7 @@ class PFASmarty { $smarty = new PFASmarty(); $CONF['theme_css'] = $CONF['postfix_admin_url'].'/'.htmlentities($CONF['theme_css']); +if ($CONF['theme_custom_css'] != "") $CONF['theme_custom_css'] = $CONF['postfix_admin_url'].'/'.htmlentities($CONF['theme_custom_css']); $CONF['theme_logo'] = $CONF['postfix_admin_url'].'/'.htmlentities($CONF['theme_logo']); $smarty->assign ('CONF', $CONF);