* ndirs=3 (tiny_mce wasn't getting delivered)
authorArt Cancro <ajc@citadel.org>
Thu, 18 Jan 2007 16:28:53 +0000 (16:28 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 18 Jan 2007 16:28:53 +0000 (16:28 +0000)
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 */