summaryrefslogtreecommitdiff
path: root/public/library/TCPDF/examples/barcodes/tcpdf_barcodes_2d_include.php
diff options
context:
space:
mode:
authorGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2026-07-12 15:51:52 +0300
committerGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2026-07-12 15:51:52 +0300
commit02608271bb2a9f3a65ed536984d306ee14b48e34 (patch)
tree3f23ec48a694ec014e845c4f70d9b5f1c065403c /public/library/TCPDF/examples/barcodes/tcpdf_barcodes_2d_include.php
downloadkalassa-02608271bb2a9f3a65ed536984d306ee14b48e34.tar.gz
kalassa-02608271bb2a9f3a65ed536984d306ee14b48e34.tar.bz2
kalassa-02608271bb2a9f3a65ed536984d306ee14b48e34.zip
initialize repository; add docker config; migrate configuration to new specsHEADmaster
Diffstat (limited to 'public/library/TCPDF/examples/barcodes/tcpdf_barcodes_2d_include.php')
-rw-r--r--public/library/TCPDF/examples/barcodes/tcpdf_barcodes_2d_include.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/public/library/TCPDF/examples/barcodes/tcpdf_barcodes_2d_include.php b/public/library/TCPDF/examples/barcodes/tcpdf_barcodes_2d_include.php
new file mode 100644
index 0000000..61c4a8b
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/tcpdf_barcodes_2d_include.php
@@ -0,0 +1,37 @@
+<?php
+//============================================================+
+// File name : tcpdf_barcodes_2d_include.php
+// Begin : 2013-05-19
+// Last Update : 2013-05-19
+//
+// Description : Search and include the TCPDF Barcode 1D class.
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Search and include the TCPDF Barcode 2D class.
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Include the main class.
+ * @author Nicola Asuni
+ * @since 2013-05-19
+ */
+
+// Include the TCPDF 2D barcode class (search the class on the following directories).
+$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');
+foreach ($tcpdf_barcodes_2d_include_dirs as $tcpdf_barcodes_2d_include_path) {
+ if (@file_exists($tcpdf_barcodes_2d_include_path)) {
+ require_once($tcpdf_barcodes_2d_include_path);
+ break;
+ }
+}
+
+//============================================================+
+// END OF FILE
+//============================================================+