example_1d_html.php
2 years ago
example_1d_png.php
2 years ago
example_1d_svg.php
2 years ago
example_1d_svgi.php
2 years ago
example_2d_datamatrix_html.php
2 years ago
example_2d_datamatrix_png.php
2 years ago
example_2d_datamatrix_svg.php
2 years ago
example_2d_datamatrix_svgi.php
2 years ago
example_2d_pdf417_html.php
2 years ago
example_2d_pdf417_png.php
2 years ago
example_2d_pdf417_svg.php
2 years ago
example_2d_pdf417_svgi.php
2 years ago
example_2d_qrcode_html.php
2 years ago
example_2d_qrcode_png.php
2 years ago
example_2d_qrcode_svg.php
2 years ago
example_2d_qrcode_svgi.php
2 years ago
tcpdf_barcodes_1d_include.php
4 years ago
tcpdf_barcodes_2d_include.php
4 years ago
tcpdf_barcodes_2d_include.php
47 lines
| 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( |
| 28 | realpath(dirname(__FILE__) . '/../../tcpdf_barcodes_2d.php'),// True source file |
| 29 | realpath('../../tcpdf_barcodes_2d.php'),// Relative from $PWD |
| 30 | '/usr/share/php/tcpdf/tcpdf_barcodes_2d.php', |
| 31 | '/usr/share/tcpdf/tcpdf_barcodes_2d.php', |
| 32 | '/usr/share/php-tcpdf/tcpdf_barcodes_2d.php', |
| 33 | '/var/www/tcpdf/tcpdf_barcodes_2d.php', |
| 34 | '/var/www/html/tcpdf/tcpdf_barcodes_2d.php', |
| 35 | '/usr/local/apache2/htdocs/tcpdf/tcpdf_barcodes_2d.php' |
| 36 | ); |
| 37 | foreach ($tcpdf_barcodes_2d_include_dirs as $tcpdf_barcodes_2d_include_path) { |
| 38 | if (@file_exists($tcpdf_barcodes_2d_include_path)) { |
| 39 | require_once($tcpdf_barcodes_2d_include_path); |
| 40 | break; |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | //============================================================+ |
| 45 | // END OF FILE |
| 46 | //============================================================+ |
| 47 |