Updates
This commit is contained in:
parent
f853044d0b
commit
a0229c48d6
3 changed files with 9 additions and 5 deletions
|
@ -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'].'"');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue