diff --git a/public/users/password-change.php b/public/users/password-change.php index 4c5479cc..14307d07 100644 --- a/public/users/password-change.php +++ b/public/users/password-change.php @@ -25,7 +25,6 @@ * fUsername */ -$smarty = PFASmarty::getInstance(); if (preg_match('/\/users\//', $_SERVER['REQUEST_URI'])) { $rel_path = '../'; @@ -36,6 +35,8 @@ if (preg_match('/\/users\//', $_SERVER['REQUEST_URI'])) { } require_once($rel_path . 'common.php'); +$smarty = PFASmarty::getInstance(); + $CONF = Config::getInstance()->getAll(); $smarty->configureTheme($rel_path);