bug 1192: added check for empty $_SESSION['_config']['oldlocation']
bug 1192: added file 52.php to the git branch