I had this come up and checked these notes. I also compared the first cart with new one and found that this was extra:
$globalstartdir = getcwd();
chdir(dirname(__FILE__));
require_once("../../admin/common/properties.php");
chdir($globalstartdir);
header('Content-Type: text/html; charset=utf-8');
?>
Hopefully I won't be breaking anything with this attempt. :-)