aboutsummaryrefslogtreecommitdiff
path: root/lib/lib_rss.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-04-23 19:10:32 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-04-23 19:10:32 +0200
commitb042d3a7728037db90a9306c61091be0a8ac42c4 (patch)
tree717691d185a83b603252a8e8de6fb4e5858c65a8 /lib/lib_rss.php
parent4862652585da1d69d62914659011c53146b21c17 (diff)
HTTP2 optimization
Fast flush HTTP headers, push promise CSS. Requires PHP 5.3+ due to anonymous function. Do not load syles, scripts, and notifications for Ajax requests. https://github.com/FreshRSS/FreshRSS/issues/1089
Diffstat (limited to 'lib/lib_rss.php')
-rw-r--r--lib/lib_rss.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php
index 135115ea5..f89baf9b1 100644
--- a/lib/lib_rss.php
+++ b/lib/lib_rss.php
@@ -548,3 +548,7 @@ function base64url_encode($data) {
function base64url_decode($data) {
return base64_decode(strtr($data, '-_', '+/'));
}
+
+function _i($icon, $url_only = false) {
+ return FreshRSS_Themes::icon($icon, $url_only);
+}