This commit is contained in:
David Goodwin committed 2021-01-21 13:57:31 +00:00
1 parent ecf6e4afe9
commit 7f8a3d4bde
1 file changed
+2 -1
+2 -1
View File
@@ -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);