added: "server_mode" config option (std::wstring)

you can assign any string to it such as "production" "dev"
       this value is not used by winix itself
       you can refer to it from [server_mode] and [server_mode_is] ezc functions





git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1007 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2015-04-16 14:43:52 +00:00
parent ae2a885d6c
commit 5274e8e8ff
8 changed files with 166 additions and 4 deletions

View File

@@ -578,6 +578,13 @@ void Templates::CreateFunctions()
ezc_functions.Insert("rebus_question", rebus_question);
/*
server
*/
ezc_functions.Insert("server_mode", server_mode);
ezc_functions.Insert("server_mode_is", server_mode_is);
/*
slog
*/