diff options
author | Teromene <teromene@teromene.fr> | 2016-11-29 11:06:31 +0000 |
---|---|---|
committer | Teromene <teromene@teromene.fr> | 2016-11-29 11:06:31 +0000 |
commit | caa382dd55c285306a3f48bb54678cf787d842e1 (patch) | |
tree | 88b2c30a41b965abc4beb64065b3e2eadb51eb0b /index.php | |
parent | 76fb679e38c6237fc2e39c12b829068c374b8372 (diff) | |
download | Shaarli-caa382dd55c285306a3f48bb54678cf787d842e1.tar.gz Shaarli-caa382dd55c285306a3f48bb54678cf787d842e1.tar.zst Shaarli-caa382dd55c285306a3f48bb54678cf787d842e1.zip |
Disable Firefox Social in the tools section if the page is not loaded using HTTPS, as Firefox will deny the request.
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 | ||