N°3785 - Use DownloadPage to download documents

This commit is contained in:
Eric
2021-03-04 16:58:59 +01:00
parent 8efc688ff8
commit e3b7914759

View File

@@ -829,7 +829,7 @@ try
if (!empty($sClass) && ($sClass != 'InlineImage') && !empty($id) && !empty($sField))
{
$oKPI = new ExecutionKPI();
$oPage = new DownloadPage('');
// X-Frame http header : set in page constructor, but we need to allow frame integration for this specific page
// so we're resetting its value ! (see N°3416)
$oPage->add_xframe_options('');