X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=5366cb0e22fbdafe221e0b0a2c1910b67f5122f0;hb=1dc37f9cf8397e6050c4d5d981da263e6333a849;hp=84282b8dc6c6ecc41dd67cae0eae0e9c3fdf883a;hpb=3d5e0aede31e07f060e3ca470d36374c54d5040c;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);