<?php

// mPDF Include/Start Logic
  
// turn on the output buffer, prevents any output, which is required.
@ini_set('output_buffering', 'On');
if(ini_get('output_buffering') == "" || ini_get('output_buffering') == '0' || ini_get('output_buffering') == "Off") {
	$pdf_message = "<div style=\"padding:30px; background-color:#f1f1f1; color:#545454; font-family: Arial; border-radius:4px;\">";
	$pdf_message .= "<h3>PDF creation requires a PHP feature called <strong>Output Buffering</strong>, which is not enabled on this server.</h3>";
	$pdf_message .= "&nbsp;Please check with your hosting provider for instructions on how to enable.<br/><br/>";
	$pdf_message .= "Typical values will be <strong>1</strong> or <strong>On</strong>.";
	$pdf_message .= "</div>";						
	die($pdf_message);
}
ob_start();

// This code adds a basic mpdf footer call to a page.
require_once('../../../composer/vendor/autoload.php');
					
// PDF Rendering Flag.
$PAGE_IS_PDF = true;
$PDF_LIBRARY = "MPDF";

?>