Fixes #6300: Deprecated $CONFIG still available in view scripts