aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php
index 07470a08..218d317d 100644
--- a/index.php
+++ b/index.php
@@ -1065,10 +1065,10 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history)
1065 // -------- Display the Tools menu if requested (import/export/bookmarklet...) 1065 // -------- Display the Tools menu if requested (import/export/bookmarklet...)
1066 if ($targetPage == Router::$PAGE_TOOLS) 1066 if ($targetPage == Router::$PAGE_TOOLS)
1067 { 1067 {
1068 $data = array( 1068 $data = [
1069 'pageabsaddr' => index_url($_SERVER), 1069 'pageabsaddr' => index_url($_SERVER),
1070 'sslenabled' => !empty($_SERVER['HTTPS']) 1070 'sslenabled' => is_https($_SERVER),
1071 ); 1071 ];
1072 $pluginManager->executeHooks('render_tools', $data); 1072 $pluginManager->executeHooks('render_tools', $data);
1073 1073
1074 foreach ($data as $key => $value) { 1074 foreach ($data as $key => $value) {