source: trunk/client/inc/hpdf5/tecnickcom/tcpdf/examples/barcodes/tcpdf_barcodes_2d_include.php@ 347

Last change on this file since 347 was 347, checked in by roby, 3 years ago

Aggiornamento per compatibilità con php7.4

File size: 1.4 KB
Line 
1<?php
2//============================================================+
3// File name : tcpdf_barcodes_2d_include.php
4// Begin : 2013-05-19
5// Last Update : 2013-05-19
6//
7// Description : Search and include the TCPDF Barcode 1D class.
8//
9// Author: Nicola Asuni
10//
11// (c) Copyright:
12// Nicola Asuni
13// Tecnick.com LTD
14// www.tecnick.com
15// info@tecnick.com
16//============================================================+
17
18/**
19 * Search and include the TCPDF Barcode 2D class.
20 * @package com.tecnick.tcpdf
21 * @abstract TCPDF - Include the main class.
22 * @author Nicola Asuni
23 * @since 2013-05-19
24 */
25
26// Include the TCPDF 2D barcode class (search the class on the following directories).
27$tcpdf_barcodes_2d_include_dirs = array(realpath('../../tcpdf_barcodes_2d.php'), '/usr/share/php/tcpdf/tcpdf_barcodes_2d.php', '/usr/share/tcpdf/tcpdf_barcodes_2d.php', '/usr/share/php-tcpdf/tcpdf_barcodes_2d.php', '/var/www/tcpdf/tcpdf_barcodes_2d.php', '/var/www/html/tcpdf/tcpdf_barcodes_2d.php', '/usr/local/apache2/htdocs/tcpdf/tcpdf_barcodes_2d.php');
28foreach ($tcpdf_barcodes_2d_include_dirs as $tcpdf_barcodes_2d_include_path) {
29 if (@file_exists($tcpdf_barcodes_2d_include_path)) {
30 require_once($tcpdf_barcodes_2d_include_path);
31 break;
32 }
33}
34
35//============================================================+
36// END OF FILE
37//============================================================+
Note: See TracBrowser for help on using the repository browser.