Patch level :4.0 792

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :altre correzioni legate alla nuova Type in campo.ini


git-svn-id: svn://10.65.10.50/trunk@15684 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2007-10-08 08:05:40 +00:00
parent 9fbff38b28
commit 2e78c0292f

View File

@ -382,12 +382,12 @@ bool TInstallmodule_app::create()
else
_m = NULL;
TConfig praw(CONFIG_INSTALL, "Main");
const int type = praw.get_int("Type");
TConfig campo_ini(CONFIG_INSTALL, "Main");
const int type = campo_ini.get_int("Type");
if (type == 1 || type == 2)
_test_database = true;
else
_test_database = prawin.get_bool("TestDatabase");
_test_database = campo_ini.get_bool("TestDatabase");
return TSkeleton_application::create();
}