diff --git a/functions/func.common.php b/functions/func.common.php index fda49fe..6881f09 100755 --- a/functions/func.common.php +++ b/functions/func.common.php @@ -1131,8 +1131,9 @@ if (defined('SQL_PROFILING') && SQL_PROFILING) $data .= "\r\n" . ""; } - else if (defined('PROFILING') && PROFILING == 'full') + else if (defined('PROFILING') && PROFILING == 'full') { $data .= Debug::displayInfo(); + } } if ($Gzip && (defined('GZIP_COMPRESSION') && GZIP_COMPRESSION)) @@ -1141,6 +1142,16 @@ header ('Content-Encoding: gzip'); } + if (UGROUP !== 1 && (defined('PROFILING') && PROFILING == 'full')) + { + $data .= "\r\n" . ""; + $data .= "\r\n" . ""; + $data .= "\r\n" . ""; + + if (defined('SQL_PROFILING') && SQL_PROFILING) + $data .= "\r\n" . ""; + } + header ('X-Engine: AVE.cms'); header ('X-Engine-Copyright: 2007-' . date('Y') . ' (c) AVE.cms'); header ('X-Engine-Site: https://www.ave-cms.ru');