From caa382dd55c285306a3f48bb54678cf787d842e1 Mon Sep 17 00:00:00 2001 From: Teromene Date: Tue, 29 Nov 2016 11:06:31 +0000 Subject: Disable Firefox Social in the tools section if the page is not loaded using HTTPS, as Firefox will deny the request. --- index.php | 1 + 1 file changed, 1 insertion(+) (limited to 'index.php') 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) { $data = array( 'pageabsaddr' => index_url($_SERVER), + 'sslenabled' => !empty($_SERVER['HTTPS']) ); $pluginManager->executeHooks('render_tools', $data); -- cgit v1.2.3