aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-09-02 13:54:38 +0200
committerGitHub <noreply@github.com>2017-09-02 13:54:38 +0200
commit96a1c79456b27892b9221707803f29585565b9dc (patch)
tree8e8203592cb66fe83b6885b07d817ea1a0dc7a5e /index.php
parentea71536ed76a439ace794a1db3685827ab323c2a (diff)
parent206c45bd05a79b5e6d0c51452a6ac69e85cca0b2 (diff)
downloadShaarli-96a1c79456b27892b9221707803f29585565b9dc.tar.gz
Shaarli-96a1c79456b27892b9221707803f29585565b9dc.tar.zst
Shaarli-96a1c79456b27892b9221707803f29585565b9dc.zip
Merge pull request #939 from ArthurHoaro/hotfix/firefox-social-title
Firefox Social title: Use document.title instead of RainTPL variable
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) {