Merge pull request #219 from rkta/add_option_for_temp_files
Add option to set directory for temporary files
This commit is contained in:
2
rc.c
2
rc.c
@@ -127,6 +127,7 @@ static int OptionEncode = FALSE;
|
||||
#define CMT_DROOT N_("Directory corresponding to / (document root)")
|
||||
#define CMT_PDROOT N_("Directory corresponding to /~user")
|
||||
#define CMT_CGIBIN N_("Directory corresponding to /cgi-bin")
|
||||
#define CMT_TMP N_("Directory for temporary files")
|
||||
#define CMT_CONFIRM_QQ N_("Confirm when quitting with q")
|
||||
#define CMT_CLOSE_TAB_BACK N_("Close tab if buffer is last when back")
|
||||
#ifdef USE_MARK
|
||||
@@ -580,6 +581,7 @@ struct param_ptr params5[] = {
|
||||
(void *)&personal_document_root, CMT_PDROOT, NULL},
|
||||
{"cgi_bin", P_STRING, PI_TEXT, (void *)&cgi_bin, CMT_CGIBIN, NULL},
|
||||
{"index_file", P_STRING, PI_TEXT, (void *)&index_file, CMT_IFILE, NULL},
|
||||
{"tmp_dir", P_STRING, PI_TEXT, (void *)&tmp_dir, CMT_TMP, NULL},
|
||||
{NULL, 0, 0, NULL, NULL, NULL},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user