Update GalleryConfig.php

Update so that we can access Silverstripe config properly