diff --git a/CMakeLists.txt b/CMakeLists.txt index c3c159d..ea9d6ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -160,6 +160,8 @@ add_definitions( -DICACHE_RODATA_ATTR= -DFLAG_GZIP=2 -DADMIN_PASSWORD="asdf" + -DGIT_HASH_BACKEND="asdf" + -DGIT_HASH_FRONTEND="asdf" -DGIT_HASH="blabla" -DDEBUG_HEAP=1 -DDEBUG_MALLOC=1 diff --git a/user/cgi_main.c b/user/cgi_main.c index bb8bbfb..377666c 100644 --- a/user/cgi_main.c +++ b/user/cgi_main.c @@ -54,7 +54,7 @@ tplAbout(HttpdConnData *connData, char *token, void **arg) tplSend(connData, __DATE__, -1); } else if (streq(token, "time")) { - tplSend(connData, __TIME__, -1); + tplSend(connData, __TIME__" "__TIMEZONE__, -1); } else if (streq(token, "vers_httpd")) { tplSend(connData, httpdGetVersion(), -1);