[ticket/12570] Only get config_name from the db

PHPBB3-12570