Update BaseYii.php