1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 12:45:55 +00:00

remove apache-specific x-sendfile stuff

implement a hook (HOOK_SEND_LOCAL_FILE) which plugins may use to send files
via httpd-specific implementation to increase performance typically on larger files
This commit is contained in:
Andrew Dolgov
2017-10-08 17:10:05 +03:00
parent 852496fa15
commit 8b73bd28d8
5 changed files with 34 additions and 38 deletions

View File

@@ -55,6 +55,7 @@ class PluginHost {
const HOOK_FORMAT_ARTICLE = 34;
const HOOK_FORMAT_ARTICLE_CDM = 35;
const HOOK_FEED_BASIC_INFO = 36;
const HOOK_SEND_LOCAL_FILE = 37;
const KIND_ALL = 1;
const KIND_SYSTEM = 2;