diff --git a/bureau/admin/index.php b/bureau/admin/index.php index a028342b..9f0995a5 100644 --- a/bureau/admin/index.php +++ b/bureau/admin/index.php @@ -74,12 +74,9 @@ if ( empty($logo) || ! $logo ) {
ATTENTION : vous allez acc�der � votre panel en mode *non s�curis�*
- Cliquez ici pour passer en mode s�curis�"; + if (variable_get('https_warning', true, 'warn users to switch to HTTPS') && !isset($_SERVER['HTTPS'])) { + echo __('

WARNING: you are trying to access the control panel insecurely, click here to go to secure mode

', $_SERVER["HTTP_HOST"]); } - */ ?>