]> code.citadel.org Git - citadel.git/blobdiff - webcit/webserver.c
* move templates to static/t/ ; made make install target respect this
[citadel.git] / webcit / webserver.c
index 315f26727c641e8c2cd7a317e903056bb1c7617f..6a0c80abf7a0fadcccb3d2c61840aed4265bbf42 100644 (file)
@@ -587,6 +587,7 @@ void spawn_another_worker_thread()
 const char foobuf[32];
 const char *nix(void *vptr) {snprintf(foobuf, 32, "%0x", (long) vptr); return foobuf;}
 #endif 
+void InitTemplateCache(void);
 
 /*
  * \brief Here's where it all begins.
@@ -617,6 +618,11 @@ int main(int argc, char **argv)
 
        HandlerHash = NewHash(1, NULL);
        PreferenceHooks = NewHash(1, NULL);
+       WirelessTemplateCache = NewHash(1, NULL);
+       WirelessLocalTemplateCache = NewHash(1, NULL);
+       TemplateCache = NewHash(1, NULL);
+       LocalTemplateCache = NewHash(1, NULL);
+       InitTemplateCache();
 
        initialise_modules();