Added portal_config table for large data that needs to inserted into the database (adds 1 query but we won't have to tamper with phpBB3's config table);
Added serialize and unserialize to the main menu block for a better way of working with the links;
This commit is contained in:
@@ -34,6 +34,8 @@ if (!$config['board3_enable'])
|
||||
redirect(reapply_sid($phpbb_root_path . 'index.' . $phpEx));
|
||||
}
|
||||
|
||||
$portal_config = obtain_portal_config();
|
||||
|
||||
$sql = 'SELECT *
|
||||
FROM ' . PORTAL_MODULES_TABLE . '
|
||||
ORDER BY module_order ASC';
|
||||
|
||||
Reference in New Issue
Block a user