ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
tcpdf_include.php
Go to the documentation of this file.
1
<?
php
2
//============================================================+
3
// File name : tcpdf_include.php
4
// Begin : 2008-05-14
5
// Last Update : 2014-12-10
6
//
7
// Description : Search and include the TCPDF library.
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
// always load alternative config file for examples
27
require_once(
'config/tcpdf_config_alt.php'
);
28
29
// Include the main TCPDF library (search the library on the following directories).
30
$tcpdf_include_dirs
= array(
31
realpath(
'../tcpdf.php'
),
32
'/usr/share/php/tcpdf/tcpdf.php'
,
33
'/usr/share/tcpdf/tcpdf.php'
,
34
'/usr/share/php-tcpdf/tcpdf.php'
,
35
'/var/www/tcpdf/tcpdf.php'
,
36
'/var/www/html/tcpdf/tcpdf.php'
,
37
'/usr/local/apache2/htdocs/tcpdf/tcpdf.php'
38
);
39
foreach
(
$tcpdf_include_dirs
as $tcpdf_include_path) {
40
if
(@file_exists($tcpdf_include_path)) {
41
require_once($tcpdf_include_path);
42
break
;
43
}
44
}
45
46
//============================================================+
47
// END OF FILE
48
//============================================================+
$tcpdf_include_dirs
$tcpdf_include_dirs
Definition:
tcpdf_include.php:30
php
libs
composer
vendor
tecnickcom
tcpdf
examples
tcpdf_include.php
Generated on Thu Jan 30 2025 19:01:33 for ILIAS by
1.8.13 (using
Doxyfile
)