Update extension.driver.php

compability update for 2.3.5