diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) { |