Update driver.php

Making role checking case insensitive by adding strtolower in has_access comparison.