X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fsysdep.c;h=44878c757ecd54e6f89b35098bdf115ef0016c10;hb=ebc64e2caae8740dd047e5317de2172eb3f44fc3;hp=ae959505a24b93a65d189a305f1f4f4b6ad03f89;hpb=c82a9b990b775ffd78b18925dbc00c7bb06e0a24;p=citadel.git diff --git a/webcit/sysdep.c b/webcit/sysdep.c index ae959505a..44878c757 100644 --- a/webcit/sysdep.c +++ b/webcit/sysdep.c @@ -1,7 +1,7 @@ /* * WebCit "system dependent" code. * - * Copyright (c) 1996-2012 by the citadel.org team + * Copyright (c) 1996-2014 by the citadel.org team * * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 3. @@ -25,18 +25,7 @@ #include #include #include - -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif - +#include #include #include #include @@ -82,6 +71,8 @@ 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. */ +const char markdown_editor_absolutedir[]=MARKDOWNEDITORDIR; + char etc_dir[PATH_MAX]; char static_dir[PATH_MAX]; /* calculated on startup */ char static_local_dir[PATH_MAX]; /* calculated on startup */ @@ -90,7 +81,8 @@ 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... */ + (char*)static_icon_dir, /* our icons... */ + (char*)markdown_editor_absolutedir }; int ExitPipe[2];