You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.4 KiB

4 years ago
  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. * Search and include the TCPDF Barcode 2D class.
  19. * @package com.tecnick.tcpdf
  20. * @abstract TCPDF - Include the main class.
  21. * @author Nicola Asuni
  22. * @since 2013-05-19
  23. */
  24. // Include the TCPDF 2D barcode class (search the class on the following directories).
  25. $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');
  26. foreach ($tcpdf_barcodes_2d_include_dirs as $tcpdf_barcodes_2d_include_path) {
  27. if (@file_exists($tcpdf_barcodes_2d_include_path)) {
  28. require_once($tcpdf_barcodes_2d_include_path);
  29. break;
  30. }
  31. }
  32. //============================================================+
  33. // END OF FILE
  34. //============================================================+