Update db.php

Switch require to require_once