mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
Fix account lost routes in tibiacom template
This commit is contained in:
@@ -37,7 +37,9 @@ if(isset($config['boxes']))
|
||||
$tmp = str_replace('/', '_', PAGE);
|
||||
$exp = explode('/', PAGE);
|
||||
if(PAGE !== 'account/create' && PAGE !== 'account/lost' && isset($exp[1])) {
|
||||
if ($exp[0] === 'account') {
|
||||
if ($exp[0] === 'account' && $exp[1] === 'lost') {
|
||||
$tmp = 'account_lost';
|
||||
} elseif ($exp[0] === 'account') {
|
||||
$tmp = 'account_manage';
|
||||
} else if ($exp[0] === 'news' && $exp[1] === 'archive') {
|
||||
$tmp = 'news_archive';
|
||||
|
Reference in New Issue
Block a user