fixed visibility of statics for SilverStripe 3.1
replaced accessing statics with Config->get()