X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fsysdep.c;h=bba4147aa50da6d13059fcfcbd02ff4624f13163;hp=1278b56259ea984b8bf3a6c4b5437bfe1544208f;hb=37cdd9932e7854c7bde2b83a0b4f5f6aad105306;hpb=34b4acf39cd04a4370eba5806379003a0de48330 diff --git a/webcit/sysdep.c b/webcit/sysdep.c index 1278b5625..bba4147aa 100644 --- a/webcit/sysdep.c +++ b/webcit/sysdep.c @@ -70,17 +70,15 @@ char file_crpt_file_csr[PATH_MAX]=""; char file_crpt_file_cer[PATH_MAX]=""; char file_etc_mimelist[PATH_MAX]=""; -const char editor_absolut_dir[PATH_MAX]=EDITORDIR; /* nailed to what configure gives us. */ - char etc_dir[PATH_MAX]; char static_dir[PATH_MAX]; /* calculated on startup */ char static_local_dir[PATH_MAX]; /* calculated on startup */ char static_icon_dir[PATH_MAX]; /* where should we find our mime icons? */ char *static_dirs[]={ /* needs same sort order as the web mapping */ - (char*)static_dir, /* our templates on disk */ - (char*)static_local_dir, /* user provided templates disk */ - (char*)editor_absolut_dir, /* the editor on disk */ - (char*)static_icon_dir /* our icons... */ + "./static", + "./static.local", + "./tiny_mce", + "./static/webcit_icons" }; int ExitPipe[2];