Fix deprecated public folder setting.