ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
tcpdf_barcodes_2d_include.php
Go to the documentation of this file.
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
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//============================================================+
$tcpdf_barcodes_2d_include_dirs