bug 1192: added check for empty $_SESSION['_config']['oldlocation']