Update driver.php

Making role checking case insensitive