Server geändert

This commit is contained in:
aschwarz
2023-04-25 13:17:57 +02:00
parent f1b11efb5d
commit f93fa77db7
603 changed files with 2951 additions and 2951 deletions

View File

@ -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 http://tcpdf.sourceforge.net
* @license http://www.gnu.org/copyleft/lesser.html LGPL
* @link https://tcpdf.sourceforge.net
* @license https://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 = 'http://';
$kPathUrl = 'https://';
}
$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/).
* URL path to tcpdf installation folder (https://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);