Server IP : 103.119.228.120 / Your IP : 3.133.117.107 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/hendraso/public_html/Additional/Html2Pdf/_class/ |
Upload File : |
<?php //============================================================+ // File name : tcpdf_config.php // Begin : 2004-06-11 // Last Update : 2009-09-30 // // Description : Configuration file for TCPDF. // // Author: Nicola Asuni // // (c) Copyright: // Nicola Asuni // Tecnick.com s.r.l. // Via Della Pace, 11 // 09044 Quartucciu (CA) // ITALY // www.tecnick.com // info@tecnick.com //============================================================+ /** * Configuration file for TCPDF. * @author Nicola Asuni * @copyright 2004-2008 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) * Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com * @package com.tecnick.tcpdf * @version 4.0.014 * @link http://tcpdf.sourceforge.net * @license http://www.gnu.org/copyleft/lesser.html LGPL * @since 2004-10-27 */ // If you define the constant K_TCPDF_EXTERNAL_CONFIG, the following settings will be ignored. if (!defined('K_TCPDF_EXTERNAL_CONFIG')) { define('K_TCPDF_EXTERNAL_CONFIG', true); // DOCUMENT_ROOT fix for IIS Webserver if ((!isset($_SERVER['DOCUMENT_ROOT'])) OR (empty($_SERVER['DOCUMENT_ROOT']))) { if (isset($_SERVER['SCRIPT_FILENAME'])) { $_SERVER['DOCUMENT_ROOT'] = str_replace( '\\', '/', substr($_SERVER['SCRIPT_FILENAME'], 0, 0-strlen($_SERVER['PHP_SELF'])) ); } elseif (isset($_SERVER['PATH_TRANSLATED'])) { $_SERVER['DOCUMENT_ROOT'] = str_replace( '\\', '/', substr(str_replace('\\\\', '\\', $_SERVER['PATH_TRANSLATED']), 0, 0-strlen($_SERVER['PHP_SELF'])) ); } else { // define here your DOCUMENT_ROOT path if the previous fails $_SERVER['DOCUMENT_ROOT'] = '/var/www'; } } // Automatic calculation for the following K_PATH_MAIN constant $kPathMain = str_replace('\\', '/', dirname(__FILE__)); $kPathMain = dirname($kPathMain).'/'; // remove the current directory $kPathMain.= '_tcpdf_'.HTML2PDF_USED_TCPDF_VERSION.'/'; define('K_PATH_MAIN', $kPathMain); // Automatic calculation for the following K_PATH_URL constant if (isset($_SERVER['HTTP_HOST']) AND (!empty($_SERVER['HTTP_HOST']))) { if (isset($_SERVER['HTTPS']) AND (!empty($_SERVER['HTTPS'])) AND strtolower($_SERVER['HTTPS'])!='off') { $kPathUrl = 'https://'; } else { $kPathUrl = 'http://'; } $kPathUrl .= $_SERVER['HTTP_HOST']; $kPathUrl .= str_replace('\\', '/', substr(K_PATH_MAIN, (strlen($_SERVER['DOCUMENT_ROOT']) - 1))); } /** * URL path to tcpdf installation folder (http://localhost/tcpdf/). * By default it is automatically calculated but you can also set it as a fixed string to improve performances. */ define('K_PATH_URL', $kPathUrl); /** * path for PDF fonts * use K_PATH_MAIN.'fonts/old/' for old non-UTF8 fonts */ define('K_PATH_FONTS', K_PATH_MAIN.'fonts/'); /** * cache directory for temporary files (full path) */ define('K_PATH_CACHE', K_PATH_MAIN.'cache/'); /** * cache directory for temporary files (url path) */ define('K_PATH_URL_CACHE', K_PATH_URL.'cache/'); /** *images directory */ define('K_PATH_IMAGES', K_PATH_MAIN.'images/'); /** * blank image */ define('K_BLANK_IMAGE', K_PATH_IMAGES.'_blank.png'); /** * page format */ define('PDF_PAGE_FORMAT', 'A4'); /** * page orientation (P=portrait, L=landscape) */ define('PDF_PAGE_ORIENTATION', 'P'); /** * document creator */ define('PDF_CREATOR', 'HTML2PDF - TCPDF'); /** * document author */ define('PDF_AUTHOR', 'HTML2PDF - TCPDF'); /** * header title */ define('PDF_HEADER_TITLE', null); /** * header description string */ define('PDF_HEADER_STRING', null); /** * image logo */ define('PDF_HEADER_LOGO', null); /** * header logo image width [mm] */ define('PDF_HEADER_LOGO_WIDTH', null); /** * document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch] */ define('PDF_UNIT', 'mm'); /** * header margin */ define('PDF_MARGIN_HEADER', 0); /** * footer margin */ define('PDF_MARGIN_FOOTER', 0); /** * top margin */ define('PDF_MARGIN_TOP', 0); /** * bottom margin */ define('PDF_MARGIN_BOTTOM', 0); /** * left margin */ define('PDF_MARGIN_LEFT', 0); /** * right margin */ define('PDF_MARGIN_RIGHT', 0); /** * default main font name */ define('PDF_FONT_NAME_MAIN', 'helvetica'); /** * default main font size */ define('PDF_FONT_SIZE_MAIN', 10); /** * default data font name */ define('PDF_FONT_NAME_DATA', 'helvetica'); /** * default data font size */ define('PDF_FONT_SIZE_DATA', 8); /** * default monospaced font name */ define('PDF_FONT_MONOSPACED', 'courier'); /** * ratio used to adjust the conversion of pixels to user units */ define('PDF_IMAGE_SCALE_RATIO', 1); /** * magnification factor for titles */ define('HEAD_MAGNIFICATION', 1); /** * height of cell repect font height */ define('K_CELL_HEIGHT_RATIO', 1); /** * title magnification respect main font size */ define('K_TITLE_MAGNIFICATION', 1); /** * reduction factor for small font */ define('K_SMALL_RATIO', 2/3); /** * set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language */ define('K_THAI_TOPCHARS', true); /** * if true allows to call TCPDF methods using HTML syntax * IMPORTANT: For security reason, disable this feature if you are printing user HTML content. */ define('K_TCPDF_CALLS_IN_HTML', false); } //============================================================+ // END OF FILE //============================================================+