mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
- allow for search by Id if json-searching
- changed, how achievement chains are saved (more obvious and probably faster) - misc preparations for setup overhaul
This commit is contained in:
@@ -8,16 +8,16 @@ $cacheKey = implode('_', [CACHETYPE_PAGE, TYPE_CLASS, -1, -1, User::$localeId]);
|
||||
|
||||
if (!$smarty->loadCache($cacheKey, $pageData))
|
||||
{
|
||||
$pageData = array(
|
||||
'listviews' => []
|
||||
);
|
||||
|
||||
$classes = new CharClassList();
|
||||
|
||||
$pageData['listviews'][] = array(
|
||||
'file' => 'class',
|
||||
'data' => $classes->getListviewData(),
|
||||
'params' => []
|
||||
$pageData = array(
|
||||
'listviews' => array(
|
||||
array(
|
||||
'file' => 'class',
|
||||
'data' => $classes->getListviewData(),
|
||||
'params' => []
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
$smarty->saveCache($cacheKey, $pageData);
|
||||
|
||||
Reference in New Issue
Block a user