Remove define in settings.php, fix up version.php, remove deprecated split()