示例#1
0
 *
 * Optimized for CakePHP
 * @author Florian Beisskammer (fm-labs)
 */
//!IMPORTANT!
define('K_TCPDF_EXTERNAL_CONFIG', true);
/**
 * Installation path (/var/www/tcpdf/).
 * By default it is automatically calculated but you can also set it as a fixed string to improve performances.
 */
//define('K_PATH_MAIN', '');
/**
 * URL path to tcpdf installation folder (http://localhost/tcpdf/).
 * By default it is automatically set but you can also set it as a fixed string to improve performances.
 */
define('K_PATH_URL', Cake\Routing\Router::url('/pdf'));
/**
 * Path for PDF fonts.
 * By default it is automatically set but you can also set it as a fixed string to improve performances.
 */
//define('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
/**
 * Default images directory.
 * By default it is automatically set but you can also set it as a fixed string to improve performances.
 */
define('K_PATH_IMAGES', WWW_ROOT . 'img' . DS);
/**
 * Deafult image logo used be the default Header() method.
 * Please set here your own logo or an empty string to disable it.
 */
define('PDF_HEADER_LOGO', '');