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 b4c4347a..de993f14 100644
--- a/index.php
+++ b/index.php
@@ -1063,10 +1063,10 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history)
1063 // -------- Display the Tools menu if requested (import/export/bookmarklet...) 1063 // -------- Display the Tools menu if requested (import/export/bookmarklet...)
1064 if ($targetPage == Router::$PAGE_TOOLS) 1064 if ($targetPage == Router::$PAGE_TOOLS)
1065 { 1065 {
1066 $data = array( 1066 $data = [
1067 'pageabsaddr' => index_url($_SERVER), 1067 'pageabsaddr' => index_url($_SERVER),
1068 'sslenabled' => !empty($_SERVER['HTTPS']) 1068 'sslenabled' => is_https($_SERVER),
1069 ); 1069 ];
1070 $pluginManager->executeHooks('render_tools', $data); 1070 $pluginManager->executeHooks('render_tools', $data);
1071 1071
1072 foreach ($data as $key => $value) { 1072 foreach ($data as $key => $value) {