mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
also fix password-change include path - see https://github.com/postfixadmin/postfixadmin/issues/430
This commit is contained in:
1 parent
ecf6e4afe9
commit
7f8a3d4bde
1 file changed
+2
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user