[ticket/11388] Disable cache if IN_INSTALL defined

PHPBB3-11388