-require("lang.php");
-
-$mode = "";
-
-$smarty->compile_check = true;
-$smarty->debugging = false;
-$smarty->force_compile = true;
-
-$smarty->template_dir = "./templates";
-$smarty->compile_dir = "./templates_c";
-$smarty->config_dir = "./configs";
-
-/*
-$smarty->config_load("bacula.conf"); // Load config file
-$mode = $smarty->get_config_vars("mode");
-*/ // Lite o Extend?
-
-// Getting mode from config file
-$mode = $dbSql->get_config_param("mode");
-if( $mode == false )
- $mode = "Lite";
-
-$smarty->assign( "mode", $mode );
-
-/*
-// Determine which template to show
-$indexreport = $dbSql->get_config_param( "IndexReport" );
-
-if( $indexreport == 0 ) {
- $smarty->assign( "last_report", "last_run_report.tpl" );
-}else {
- $smarty->assign( "last_report", "report_select.tpl" );
-}
-*/
-