Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2836 → Rev 2837

/web/index.php
46,7 → 46,7
$organisme = $conf["ORGANISM"];
$hostname = $conf["HOSTNAME"].'.'.$conf["DOMAIN"];
$ssl_enable = ($conf['HTTPS_LOGIN'] === 'on');
$protocol = ($ssl_enable) ? 'https//' : 'http://';
$protocol = ($ssl_enable) ? 'https://' : 'http://';
$useHTTPS = ((isset($_SERVER['HTTPS'])) && (!empty($_SERVER['HTTPS'])) && ($_SERVER['HTTPS'] !== 'off'));
$network_pb = false; // "alcasar-watchdog.sh" changes this value if a network issue is detected
$diagnostic = "can't contact the default router"; // "alcasar-watchdog.sh" changes this value if a network issue is detected
/web/intercept.php
421,10 → 421,10
case 'Login failed' : $reply = $l_reply_0; break;
case 'Your maximum daily usage time has been reached' : $reply = $l_reply_1; break;
case 'Your maximum monthly usage time has been reached' : $reply = $l_reply_2; break;
case 'You are calling outside your allowed timespan' : $reply = $l_reply_3; break;
case 'Password Has Expired' : $reply = $l_reply_4; break;
case 'You are out your allowed time period' : $reply = $l_reply_3; break;
case 'Your expiration date has been reached' : $reply = $l_reply_4; break;
case 'You are already logged in - access denied' : $reply = $l_reply_5; break;
case 'Your maximum never usage time has been reached' : $reply = $l_reply_6; break;
case 'Your usage time has been reached' : $reply = $l_reply_6; break;
}
}