X-Git-Url: https://git.wh0rd.org/?p=tt-rss.git;a=blobdiff_plain;f=index.php;h=3b0962f02e20cac66cace1d782672757ce14852b;hp=203ecef662d888108f46c6d07976cd02202f366f;hb=81fc862e370a1dfbd3941206fd00076e3cbf0551;hpb=7ac6ab4dda90b20afe148c621eb39881f476390e diff --git a/index.php b/index.php index 203ecef6..3b0962f0 100644 --- a/index.php +++ b/index.php @@ -11,8 +11,8 @@ // we need a separate check here because functions.php might get parsed // incorrectly before 5.3 because of :: syntax. - if (version_compare(PHP_VERSION, '5.3.0', '<')) { - print "Fatal Error: PHP version 5.3.0 or newer required.\n"; + if (version_compare(PHP_VERSION, '5.6.0', '<')) { + print "Fatal Error: PHP version 5.6.0 or newer required. You're using " . PHP_VERSION . ".\n"; exit; } @@ -55,20 +55,20 @@ Tiny Tiny RSS + - @@ -88,6 +88,16 @@ + + + - + - +
@@ -157,17 +174,18 @@
+ get_hooks(PluginHost::HOOK_MAIN_TOOLBAR_BUTTON) as $p) { + echo $p->hook_main_toolbar_button(); + } + ?> +
- -