Skip to content

Commit

Permalink
Merge pull request #64 from TuningBEB2008/patch-15
Browse files Browse the repository at this point in the history
Update template.php
  • Loading branch information
MightyGorgon committed Jul 21, 2014
2 parents e241fe7 + c8b772f commit d9510e3
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions includes/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,21 +213,21 @@ function load_config($root, $edit_db)
);
// list of default values
$default = array(
'xs_auto_compile' => 1,
'xs_auto_recompile' => 1,
'xs_use_cache' => 1,
'xs_php' => PHP_EXT,
'xs_def_template' => 'default',
'xs_check_switches' => 1,
'xs_warn_includes' => 1,
'xs_add_comments' => 0,
'xs_ftp_host' => '',
'xs_ftp_login' => '',
'xs_ftp_path' => '',
'xs_downloads_count' => '0',
'xs_downloads_default' => '0',
'xs_shownav' => '1',
'xs_template_time' => '0',
'xs_auto_compile' => 1,
'xs_auto_recompile' => 1,
'xs_use_cache' => 1,
'xs_php' => PHP_EXT,
'xs_def_template' => 'default',
'xs_check_switches' => 1,
'xs_warn_includes' => 1,
'xs_add_comments' => 0,
'xs_ftp_host' => '',
'xs_ftp_login' => '',
'xs_ftp_path' => '',
'xs_downloads_count' => '0',
'xs_downloads_default' => '0',
'xs_shownav' => '1',
'xs_template_time' => '0',
);
// checking if all variables exist
foreach($default as $var => $value)
Expand Down Expand Up @@ -2339,4 +2339,4 @@ function xs_switch($tpl, $name)
return (isset($tpl->_tpldata[$name.'.']) && sizeof($tpl->_tpldata[$name.'.']) > 0);
}

?>
?>

0 comments on commit d9510e3

Please sign in to comment.