Added Getconfig in database.php
Added function to variables in initalize.