diff options
author | Andrew Dolgov <[email protected]> | 2017-10-08 17:10:05 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-10-08 17:14:56 +0300 |
commit | 8b73bd28d81b4fd08a44ed6cc46ebedcab65f0b2 (patch) | |
tree | 17367aaf5179aef32aaddb53cf0202584a5a8e26 /classes/pluginhost.php | |
parent | 852496fa15fd2e749bb867301e155fb46fb6fc76 (diff) |
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
Diffstat (limited to 'classes/pluginhost.php')
-rw-r--r-- | classes/pluginhost.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php index 571c30fb6..533e7ee91 100644 --- a/classes/pluginhost.php +++ b/classes/pluginhost.php @@ -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; |