Fixed PHP7 Constructor

This commit is contained in:
Andreas Oesterreicher
2017-06-07 18:43:31 +02:00
parent 60ab8fdd1b
commit bff6e480f8
28 changed files with 5 additions and 3125 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
* Date: 2008-08-03 *
* Author: Olivier PLATHEY *
*******************************************************************************/
if (!defined('FPDF_VERSION'))
if (!defined('FPDF_VERSION'))
define('FPDF_VERSION','1.6');
class FPDF
@@ -72,7 +72,7 @@ var $PDFVersion; //PDF version number
* Public methods *
* *
*******************************************************************************/
function FPDF($orientation='P', $unit='mm', $format='A4')
function __construct($orientation='P', $unit='mm', $format='A4')
{
//Some checks
$this->_dochecks();