Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2323 → Rev 2324

/web/intercept.php
343,8 → 343,8
$l_autoregistration = "Auto registration (sms)";
}
 
# If https not use, tell it's wrong
if ((!isset($_SERVER['HTTPS'])) || (empty($_SERVER['HTTPS'])) || ($_SERVER['HTTPS'] === 'off')) {
# If HTTPS not use, tell it's wrong
if (($conf['HTTPS_LOGIN'] === 'on') && ((!isset($_SERVER['HTTPS'])) || (empty($_SERVER['HTTPS'])) || ($_SERVER['HTTPS'] === 'off'))) {
// Cleaning the cache
header('Expires: Tue, 01 Jan 2000 00:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');