]> code.citadel.org Git - citadel.git/blobdiff - webcit/webserver.c
* ndirs=3 (tiny_mce wasn't getting delivered)
[citadel.git] / webcit / webserver.c
index a263c9c9254a7cae6a1ad34466483382a420d8ec..b8d54b1c0fe4f72cb12ba21f45fed3283bb9479f 100644 (file)
@@ -37,10 +37,11 @@ char  *static_dirs[]={ /**< needs same sort order as the web mapping */
        (char*)static_dir,                  /** our templates on disk */
        (char*)editor_absolut_dir           /** the editor on disk */
 };
-int ndirs=2; //sizeof(static_content_dirs);//sizeof(char *);
 
 /**
  * Subdirectories from which the client may request static content
+ *
+ * (If you add more, remember to increment 'ndirs' below)
  */
 char *static_content_dirs[] = {
        "static",                     /** static templates */
@@ -48,6 +49,7 @@ char *static_content_dirs[] = {
        "tiny_mce"                    /** the JS editor */
 };
 
+int ndirs=3;
 
 
 char *server_cookie = NULL; /**< our Cookie connection to the client */