Skip to content

Commit

Permalink
Update template.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TuningBEB2008 committed May 20, 2014
1 parent c3758e1 commit c8b772f
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions includes/template.php
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 c8b772f

Please sign in to comment.