diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-09-02 13:54:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-02 13:54:38 +0200 |
commit | 96a1c79456b27892b9221707803f29585565b9dc (patch) | |
tree | 8e8203592cb66fe83b6885b07d817ea1a0dc7a5e /index.php | |
parent | ea71536ed76a439ace794a1db3685827ab323c2a (diff) | |
parent | 206c45bd05a79b5e6d0c51452a6ac69e85cca0b2 (diff) | |
download | Shaarli-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.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) { |