Änderungen https Andy Müller rückgängig gemacht
This commit is contained in:
@ -25,8 +25,8 @@
|
||||
* Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
|
||||
* @package com.tecnick.tcpdf
|
||||
* @version 4.0.014
|
||||
* @link https://tcpdf.sourceforge.net
|
||||
* @license https://www.gnu.org/copyleft/lesser.html LGPL
|
||||
* @link http://tcpdf.sourceforge.net
|
||||
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
||||
* @since 2004-10-27
|
||||
*/
|
||||
|
||||
@ -67,14 +67,14 @@ if (!defined('K_TCPDF_EXTERNAL_CONFIG')) {
|
||||
if (isset($_SERVER['HTTPS']) AND (!empty($_SERVER['HTTPS'])) AND strtolower($_SERVER['HTTPS'])!='off') {
|
||||
$kPathUrl = 'https://';
|
||||
} else {
|
||||
$kPathUrl = 'https://';
|
||||
$kPathUrl = 'http://';
|
||||
}
|
||||
$kPathUrl .= $_SERVER['HTTP_HOST'];
|
||||
$kPathUrl .= str_replace('\\', '/', substr(K_PATH_MAIN, (strlen($_SERVER['DOCUMENT_ROOT']) - 1)));
|
||||
}
|
||||
|
||||
/**
|
||||
* URL path to tcpdf installation folder (https://localhost/tcpdf/).
|
||||
* 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);
|
||||
|
Reference in New Issue
Block a user