added: default values for variables read from the config file

git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@547 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-01-07 14:45:00 +00:00
parent 3f9a46b1f7
commit 59943c87cd
6 changed files with 86 additions and 50 deletions

View File

@@ -417,7 +417,7 @@ void Templates::ReadTemplates()
using namespace TemplatesFunctions;
pat_index.Directory(data.templates);
pat_index.ParseFile(data.default_index);
pat_index.ParseFile("index.html");
pat_err_404.Directory(data.templates);
pat_err_404.ParseFile("err_404.html");