11,7 → 11,6 |
# notice and this permission notice is included in all copies or |
# substantial portions of the software. |
|
$organisme = ""; |
# Redirects from CoovaChilli (chilli daemon) : |
# Response to login: |
# success : if login successful |
21,6 → 20,42 |
# notyet : if not logged in yet |
# Default : it was not a form request -> client go to login form |
|
/**************************************************************** |
* GLOBAL FILE PATHS * |
*****************************************************************/ |
define ("CONF_FILE", "/usr/local/etc/alcasar.conf"); |
|
/**************************************************************** |
* FILE TEST * |
*****************************************************************/ |
//Test de présence et des droits en lecture des fichiers de configuration. |
if (!file_exists(CONF_FILE)){ |
exit("Fichier de configuration ".CONF_FILE." non présent"); |
} |
if (!is_readable(CONF_FILE)){ |
exit("Vous n'avez pas les droits de lecture sur le fichier ".CONF_FILE); |
} |
|
/**************************************************************** |
* Read CONF_FILE * |
*****************************************************************/ |
$ouvre=fopen(CONF_FILE,"r"); |
if ($ouvre){ |
while (!feof ($ouvre)) |
{ |
$tampon = fgets($ouvre, 4096); |
if (strpos($tampon,"=")!==false){ |
$tmp = explode("=",$tampon); |
$conf[$tmp[0]] = $tmp[1]; |
} |
} |
}else{ |
exit("Erreur d'ouverture du fichier ".ALCASAR_ETH1); |
} |
fclose($ouvre); |
|
$organisme = $conf["ORGANISM"]; |
|
# Shared secret used to encrypt challenge with radius. |
$uamsecret = ""; |
|
51,7 → 86,7 |
$l_wait = "Por favor, espere un momento ..."; |
$l_onlinetime = "Tiempo de conexión:"; |
$l_remainingtime = "Desconexión en:"; |
$l_encrypted = "La apertura debe usar conexión cifrada (https)"; |
$l_encrypted = "La apertura debe usar conexión cifrada"; |
$l_boutonO = "Autenticación"; |
$l_boutonF = "Cerrar"; |
$l_loggedin_stringl1 = "Information System Security"; |
82,7 → 117,7 |
$l_wait = "Bitte warten Sie einen Moment ..."; |
$l_onlinetime = "Online-Zeit:"; |
$l_remainingtime = "Abmelden:"; |
$l_encrypted = "Die Öffnung muß der Anschluß Zahlen (https)"; |
$l_encrypted = "Die Öffnung muß der Anschluß Zahlen"; |
$l_boutonO = "Authentifizierung"; |
$l_boutonF = "Schließen"; |
$l_loggedin_stringl1 = "Information System Security"; |
113,7 → 148,7 |
$l_wait = "Wacht een moment ..."; |
$l_onlinetime = "Sluit tijd:"; |
$l_remainingtime = "Verbreking in:"; |
$l_encrypted = "De opening moet gebruiken gecodeerde verbinding (https)"; |
$l_encrypted = "De opening moet gebruiken gecodeerde verbinding"; |
$l_boutonO = "Authenticatie"; |
$l_boutonF = "Sluiten"; |
$l_loggedin_stringl1 = "Information System Security"; |
144,7 → 179,7 |
$l_wait = "Patientez un instant ..."; |
$l_onlinetime = "Temps de connexion:"; |
$l_remainingtime = "Deconnexion dans :"; |
$l_encrypted = "La connexion avec le portail doit être chiffrée (https)"; |
$l_encrypted = "La connexion avec le portail doit être chiffrée"; |
$l_boutonO = "Authentification"; |
$l_boutonF = "Fermer"; |
$l_loggedin_stringl1 = "Sécurité des Systèmes d'Information"; |
175,7 → 210,7 |
$l_wait = "Please wait a moment ..."; |
$l_onlinetime = "Connect time:"; |
$l_remainingtime = "Disconnection in:"; |
$l_encrypted = "The connection with the portal must encrypted (https)"; |
$l_encrypted = "The connection with the portal must be encrypted"; |
$l_boutonO = "Authentication"; |
$l_boutonF = "Close"; |
$l_loggedin_stringl1 = "Information System Security"; |