changed values for send_file_mode config parameter:
0 - winix will read the content of the file and send it back to the webserver 1 - winix will use send_file_header header with a full path to the file 2 - winix will use send_file_header header with a relative path to the file
This commit is contained in:
@@ -662,6 +662,8 @@ bool RenameFile(const std::wstring & from, const std::wstring & to);
|
||||
bool GetUTF8File(const wchar_t * file_path, std::wstring & content, bool clear_content = true);
|
||||
bool GetUTF8File(const std::wstring & file_path, std::wstring & content, bool clear_content = true);
|
||||
|
||||
bool GetBinaryFile(const wchar_t * file_path, BinaryPage & content, bool clear_content = true);
|
||||
bool GetBinaryFile(const std::wstring & file_path, BinaryPage & content, bool clear_content = true);
|
||||
|
||||
const wchar_t * GetFileExt(const wchar_t * name);
|
||||
|
||||
|
Reference in New Issue
Block a user