Determining short_open_tag not correct
vtlib/Vtiger/Functions.php line 665
$shortTagSupported = ini_get('short_open_tag') ? true : false;
This is not a correct test, because ini_get will return a string or FALSE if not set. The string could be 'Off'. Testing string 'Off' will return TRUE. So when short_open_tag is set to 'Off', $shortTagSupported will incorrectly be TRUE.