'Configure the paths for the microsites feature'

def enable_microsites(self, log):

    microsites_root = settings.MICROSITE_ROOT_DIR
    if os.path.isdir(microsites_root):
        settings.STATICFILES_DIRS.insert(0, microsites_root)
        log.info('Loading    microsite    path    at    %s', microsites_root)
    else:
        log.error('Error    loading    %s.    Directory    does    not    exist', microsites_root)
