Fixed modRewrite and $DB

—