From 8b73bd28d81b4fd08a44ed6cc46ebedcab65f0b2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 8 Oct 2017 17:10:05 +0300 Subject: 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 --- classes/pluginhost.php | 1 + 1 file changed, 1 insertion(+) (limited to 'classes/pluginhost.php') 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; -- cgit v1.2.3-54-g00ecf