[ticket/12505] Restore constants

Restored constants for thumb and flash

PHPBB3-12505