From a0229c48d6ac187f8297070c4c5da9947730e83d Mon Sep 17 00:00:00 2001 From: genuineparts Date: Tue, 24 Jun 2025 09:24:35 +0200 Subject: [PATCH] Updates --- inc/core.class.php | 10 +++++++--- thirdparty/tiny/tiny_mce_gzip.php | 2 +- usercp.php | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/inc/core.class.php b/inc/core.class.php index 85249e2..dc6f9fe 100644 --- a/inc/core.class.php +++ b/inc/core.class.php @@ -26,7 +26,7 @@ */ $module['core']['name']='Core Class'; -$module['core']['ver']='1.0.0'; +$module['core']['ver']='1.1.0'; class Core{ @@ -523,10 +523,14 @@ class Core{ * @return void * */ - - function make_page($content, $minimal=FALSE,$minimal_tpl='minimal_index.tpl',$header_tpl='header.tpl',$footer_tpl='footer.tpl'){ + function make_page($content, $minimal=FALSE,$minimal_tpl='minimal_index.tpl',$header_tpl='header.tpl',$footer_tpl='footer.tpl', $headers=array()){ global $config, $session, $start, $tpl, $db, $meta, $footer, $mod, $plugin,$plugin_content; $plugin->run_hook('frontpage_start',array(&$tpl)); + if(!empty($headers)){ + foreach($headers as $header){ + header($header['name'].": ".$header['value']); + } + } if($config['p3p_active']==1){ header('P3P: CP="'.$config['p3p_string'].'"'); } diff --git a/thirdparty/tiny/tiny_mce_gzip.php b/thirdparty/tiny/tiny_mce_gzip.php index 6be46b6..82f6e3e 100644 --- a/thirdparty/tiny/tiny_mce_gzip.php +++ b/thirdparty/tiny/tiny_mce_gzip.php @@ -1,6 +1,6 @@ * @package astat core * @license http://opensource.org/licenses/gpl-license.php GNU Public License - * @version $Id: usercp.php 100 2010-02-20 14:42:30Z genuineparts $ + * @version $Id$ */ /**