aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthur <arthur@hoa.ro>2016-11-30 09:13:22 +0100
committerGitHub <noreply@github.com>2016-11-30 09:13:22 +0100
commitfd7d9cad2bb6622400736b9dd4e22a38e63d9ee6 (patch)
tree88b2c30a41b965abc4beb64065b3e2eadb51eb0b /index.php
parent76fb679e38c6237fc2e39c12b829068c374b8372 (diff)
parentcaa382dd55c285306a3f48bb54678cf787d842e1 (diff)
downloadShaarli-fd7d9cad2bb6622400736b9dd4e22a38e63d9ee6.tar.gz
Shaarli-fd7d9cad2bb6622400736b9dd4e22a38e63d9ee6.tar.zst
Shaarli-fd7d9cad2bb6622400736b9dd4e22a38e63d9ee6.zip
Merge pull request #699 from teromene/https-no-social
Disable Firefox Social in the tools section if the page is not loaded using HTTPS.
Diffstat (limited to 'index.php')
-rw-r--r--index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index 84282b8d..5366cb0e 100644
--- a/index.php
+++ b/index.php
@@ -1078,6 +1078,7 @@ function renderPage($conf, $pluginManager)
1078 { 1078 {
1079 $data = array( 1079 $data = array(
1080 'pageabsaddr' => index_url($_SERVER), 1080 'pageabsaddr' => index_url($_SERVER),
1081 'sslenabled' => !empty($_SERVER['HTTPS'])
1081 ); 1082 );
1082 $pluginManager->executeHooks('render_tools', $data); 1083 $pluginManager->executeHooks('render_tools', $data);
1083 1084