X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=5366cb0e22fbdafe221e0b0a2c1910b67f5122f0;hb=bea80e43a3714663b0c32879f7bdf4fd19161b2e;hp=84282b8dc6c6ecc41dd67cae0eae0e9c3fdf883a;hpb=f21abf329234ae4d5a1d56c5a9dd0bc11f80bac8;p=github%2Fshaarli%2FShaarli.git diff --git a/index.php b/index.php index 84282b8d..5366cb0e 100644 --- a/index.php +++ b/index.php @@ -1078,6 +1078,7 @@ function renderPage($conf, $pluginManager) { $data = array( 'pageabsaddr' => index_url($_SERVER), + 'sslenabled' => !empty($_SERVER['HTTPS']) ); $pluginManager->executeHooks('render_tools', $data);