Rename db.php to functions.php

renamed file