HOR-3851
This commit is contained in:
2
thirdparty/html2ps_pdf/config.inc.php
vendored
2
thirdparty/html2ps_pdf/config.inc.php
vendored
@@ -102,7 +102,7 @@ define('MAX_IMAGE_ROW_LEN',16);
|
||||
define('MAX_TRANSPARENT_IMAGE_ROW_LEN',16);
|
||||
|
||||
define('CACHE_DIR', HTML2PS_DIR.'cache/');
|
||||
//define('OUTPUT_FILE_DIRECTORY', HTML2PS_DIR.'out/'.(defined('SYS_SYS') ? SYS_SYS . '/' : ''));
|
||||
//define('OUTPUT_FILE_DIRECTORY', HTML2PS_DIR.'out/'.(defined('SYS_SYS') ? config("sys_sys") . '/' : ''));
|
||||
define('OUTPUT_FILE_DIRECTORY', PATH_OUTPUT_FILE_DIRECTORY);
|
||||
define('FPDF_PATH', HTML2PS_DIR.'fpdf/');
|
||||
|
||||
|
||||
3
thirdparty/pear/Log/file.php
vendored
3
thirdparty/pear/Log/file.php
vendored
@@ -286,6 +286,7 @@ class Log_file extends Log
|
||||
}
|
||||
if ( !defined('SYS_SYS') ) {
|
||||
define ('SYS_SYS', '' );
|
||||
config(["sys_sys" => ""]);
|
||||
}
|
||||
/* If a priority hasn't been specified, use the default value. */
|
||||
if ($priority === null) {
|
||||
@@ -326,7 +327,7 @@ class Log_file extends Log
|
||||
$micro = date('H:i:s.') . sprintf("%04d", floor($usec * 10000 ));
|
||||
|
||||
/* Build the string containing the complete message */
|
||||
$msg = sprintf ( "%s|%s|%s|%05d|%s|%s|%s|%s|%s\n", $micro,SYS_SYS,$ip, $myPid, $message, $backTrace[3], $method, $uri, $request);
|
||||
$msg = sprintf ( "%s|%s|%s|%05d|%s|%s|%s|%s|%s\n", $micro,config("sys_sys"),$ip, $myPid, $message, $backTrace[3], $method, $uri, $request);
|
||||
/* Build the string containing the complete log line. */
|
||||
$line = $this->_format('%4$s', $micro,'',$msg );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user