Can you tell me what is wrong with this config.php file? I think my syntax is wrong somewhere. I want to check the environment variable SERV_ENV to see if the value is local or not and then set the BASE_URL variable based on that.
<?php
if (getenv('SERV_ENV')='local'); {
$BASE_URL = "/001_Current_Projects/collegedesis/"
else
$BASE_URL = "/"
end
}
?>