mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
smarty.inc.php : use !empty to avoid php moaning
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1625 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
c2cfd6fe04
commit
c7bceb77cb
@ -61,7 +61,7 @@ $smarty = new PFASmarty();
|
||||
if (!isset($rel_path)) $rel_path = ''; # users/* sets this to '../'
|
||||
|
||||
$CONF['theme_css'] = $rel_path . htmlentities($CONF['theme_css']);
|
||||
if ($CONF['theme_custom_css'] != "") $CONF['theme_custom_css'] = $rel_path . htmlentities($CONF['theme_custom_css']);
|
||||
if (!empty($CONF['theme_custom_css'])) $CONF['theme_custom_css'] = $rel_path . htmlentities($CONF['theme_custom_css']);
|
||||
$CONF['theme_logo'] = $rel_path . htmlentities($CONF['theme_logo']);
|
||||
|
||||
$smarty->assign ('CONF', $CONF);
|
||||
|
Loading…
Reference in New Issue
Block a user