Subversion Repositories ALCASAR

Rev

Rev 925 | Rev 955 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 925 Rev 930
Line 25... Line 25...
25
*****************************************************************/
25
*****************************************************************/
26
define ("CONF_FILE", "/usr/local/etc/alcasar.conf");
26
define ("CONF_FILE", "/usr/local/etc/alcasar.conf");
27
define ("DOMAIN_ALLOWED_LIST", "/usr/local/etc/alcasar-uamdomain");
27
define ("DOMAIN_ALLOWED_LIST", "/usr/local/etc/alcasar-uamdomain");
28
 
28
 
29
/****************************************************************
29
/****************************************************************
30
*				FILE TEST			*
30
*			FILE reading test			*
31
*****************************************************************/
31
*****************************************************************/
32
//Test de présence et des droits en lecture des fichiers de configuration.
-
 
33
if (!file_exists(CONF_FILE)){
-
 
34
	exit("Fichier de configuration ".CONF_FILE." non présent");
-
 
35
}
-
 
36
if (!is_readable(CONF_FILE)){
-
 
37
	exit("Vous n'avez pas les droits de lecture sur le fichier ".CONF_FILE);
-
 
38
}
-
 
39
 
-
 
40
//Test de présence de domaine ou IP accessibles sans authentificaion
-
 
41
$conf_files=array(DOMAIN_ALLOWED_LIST);
32
$conf_files=array(CONF_FILE,DOMAIN_ALLOWED_LIST);
42
foreach ($conf_files as $file){
33
foreach ($conf_files as $file){
43
	if (!file_exists($file)){
34
	if (!file_exists($file)){
44
		exit("Fichier ".$file." non présent");
35
		exit("Fichier ".$file." non présent");
45
	}
36
	}
46
	if (!is_readable($file)){
37
	if (!is_readable($file)){
Line 62... Line 53...
62
	}
53
	}
63
}else{
54
}else{
64
	exit("Erreur d'ouverture du fichier ".ALCASAR_ETH1);
55
	exit("Erreur d'ouverture du fichier ".ALCASAR_ETH1);
65
}
56
}
66
fclose($ouvre);
57
fclose($ouvre);
67
 
-
 
68
$organisme = $conf["ORGANISM"];
58
$organisme = $conf["ORGANISM"];
69
 
59
 
70
# Shared secret used to encrypt challenge with radius.
60
# Shared secret used to encrypt challenge with radius.
71
$uamsecret = "q8bxGdIg";
61
$uamsecret = "";
72
 
62
 
73
# URL loaded after success authenticates (let blank for browser defaults)
63
# URL loaded after success authenticates (let blank for browser defaults)
74
$adminurl = "";
64
$adminurl = "";
75
 
65
 
76
# Our own path
66
# Our own path
77
$loginpath	= $_SERVER['PHP_SELF'];
67
$loginpath	= $_SERVER['PHP_SELF'];
78
$alcasarpath = "http://alcasar";
68
$alcasarpath = "http://alcasar";
79
$statuspath = $alcasarpath."/status.php";
69
$statuspath = $alcasarpath."/status.php";
80
$debug		= false;
70
$debug		= false;
81
 
71
 
82
# Domain and url allowed without authentication
-
 
83
$domain_allowed_list="/usr/local/etc/alcasar-uamdomain";
-
 
84
$url_allowed_list="/usr/local/etc/alcasar-uamallowed";
-
 
85
 
-
 
86
# Choice of language
72
# Choice of language
87
$Language = 'en';
73
$Language = 'en';
88
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
74
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
89
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
75
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
90
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
76
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
Line 102... Line 88...
102
  $l_onlinetime		= "Tiempo de conexión:";
88
  $l_onlinetime		= "Tiempo de conexión:";
103
  $l_remainingtime	= "Desconexión en:";
89
  $l_remainingtime	= "Desconexión en:";
104
  $l_encrypted		= "La apertura debe usar conexión cifrada";
90
  $l_encrypted		= "La apertura debe usar conexión cifrada";
105
  $l_boutonO		= "Autenticación";
91
  $l_boutonO		= "Autenticación";
106
  $l_boutonF		= "Cerrar";
92
  $l_boutonF		= "Cerrar";
107
  $l_loggedin_stringl1 = "Information System Security";
93
  $l_loggedin_stringl1	= "Information System Security";
108
  $l_loggedin_stringl2 = "El portal fue creado reglamentos para garantizar la trazabilidad, la rendición de cuentas y el no repudio de las conexiones.";
94
  $l_loggedin_stringl2	= "El portal fue creado reglamentos para garantizar la trazabilidad, la rendición de cuentas y el no repudio de las conexiones.";
109
  $l_loggedin_stringl3 = "Su actividad en la red es registrada, de conformidad con la privacidad.";
95
  $l_loggedin_stringl3	= "Su actividad en la red es registrada, de conformidad con la privacidad.";
110
  $l_loggedin_stringl4 = "Los datos registrados pueden ser capaces de ser operado por una autoridad judicial en el curso de una investigación.";
96
  $l_loggedin_stringl4	= "Los datos registrados pueden ser capaces de ser operado por una autoridad judicial en el curso de una investigación.";
111
  $l_loggedin_stringl5 = "Estos datos se eliminan automáticamente después de un año.";
97
  $l_loggedin_stringl5	= "Estos datos se eliminan automáticamente después de un año.";
112
  $l_loggedin_stringl6 = "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
98
  $l_loggedin_stringl6	= "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
113
  $l_loggedout_string = "Cerrar sesión hizo portal cautivo!";
99
  $l_loggedout_string	= "Cerrar sesión hizo portal cautivo!";
114
  $l_reply_1 = "Your daily connexion time has been reached";
100
  $l_reply_1		= "Your daily connexion time has been reached";
115
  $l_reply_2 = "Your monthly connexion time has been reached";
101
  $l_reply_2		= "Your monthly connexion time has been reached";
116
  $l_reply_3 = "You try to connect outside of your allowed timespan";
102
  $l_reply_3		= "You try to connect outside of your allowed timespan";
117
  $l_reply_4 = "your account expired";
103
  $l_reply_4		= "your account expired";
118
  $l_reply_5 = "You have reached the maximum number of simultaneous logins";
104
  $l_reply_5		= "You have reached the maximum number of simultaneous logins";
119
  $l_reply_6 = "Your authorized connexion time has been reached";
105
  $l_reply_6		= "Your authorized connexion time has been reached";
120
  $l_online_time = "Tiempo en linea";
106
  $l_online_time	= "Tiempo en linea";
121
  $l_remaining_time = "Tiempo restante";
107
  $l_remaining_time	= "Tiempo restante";
122
  $l_uam_domain = "Sitios web autorizados : ";}
108
  $l_uam_domain		= "Sitios web autorizados : ";}
123
else if ($Language == 'pt'){
109
else if ($Language == 'pt'){
124
  $l_ChilliError	= "A autenticação deve ser bem sucedido através do serviço de portal cativo.";
110
  $l_ChilliError	= "A autenticação deve ser bem sucedido através do serviço de portal cativo.";
125
  $l_login		= "Sucesso na autenticação.<HR>Não feche essa janela para não interromper a conexão";
111
  $l_login		= "Sucesso na autenticação.<HR>Não feche essa janela para não interromper a conexão";
126
  $l_logout		= "Fechando a conexão";
112
  $l_logout		= "Fechando a conexão";
127
  $l_loginfailed	= "Falha na autenticação";
113
  $l_loginfailed	= "Falha na autenticação";
Line 166... Line 152...
166
  $l_onlinetime		= "Online-Zeit:";
152
  $l_onlinetime		= "Online-Zeit:";
167
  $l_remainingtime	= "Abmelden:";
153
  $l_remainingtime	= "Abmelden:";
168
  $l_encrypted		= "Die Öffnung muß der Anschluß Zahlen";
154
  $l_encrypted		= "Die Öffnung muß der Anschluß Zahlen";
169
  $l_boutonO		= "Authentifizierung";
155
  $l_boutonO		= "Authentifizierung";
170
  $l_boutonF		= "Schließen";
156
  $l_boutonF		= "Schließen";
171
  $l_loggedin_stringl1 = "Information System Security";
157
  $l_loggedin_stringl1	= "Information System Security";
172
  $l_loggedin_stringl2 = "Dieses Portal wurde eingerichtet, um ordnungsgemäß die Rückverfolgbarkeit, der Zurechenbarkeit und der Nicht-Anerkennung der Verbindungen.";
158
  $l_loggedin_stringl2	= "Dieses Portal wurde eingerichtet, um ordnungsgemäß die Rückverfolgbarkeit, der Zurechenbarkeit und der Nicht-Anerkennung der Verbindungen.";
173
  $l_loggedin_stringl3 = "Ihre Tätigkeit im Netzwerk registriert ist nach Schutz der Privatsphäre.";
159
  $l_loggedin_stringl3	= "Ihre Tätigkeit im Netzwerk registriert ist nach Schutz der Privatsphäre.";
174
  $l_loggedin_stringl4 = "Die gespeicherten Daten nicht pouront genutzt werden, dass von einer Justizbehörde im Rahmen einer Untersuchung.";
160
  $l_loggedin_stringl4	= "Die gespeicherten Daten nicht pouront genutzt werden, dass von einer Justizbehörde im Rahmen einer Untersuchung.";
175
  $l_loggedin_stringl5 = "Diese Daten werden automatisch gelöscht nach einem Jahr.";
161
  $l_loggedin_stringl5	= "Diese Daten werden automatisch gelöscht nach einem Jahr.";
176
  $l_loggedin_stringl6 = "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
162
  $l_loggedin_stringl6	= "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
177
  $l_loggedout_string = "Trennung des Portals erfolgt Gefangener!";
163
  $l_loggedout_string	= "Trennung des Portals erfolgt Gefangener!";
178
  $l_reply_1 = "Your daily connexion time has been reached";
164
  $l_reply_1		= "Your daily connexion time has been reached";
179
  $l_reply_2 = "Your monthly connexion time has been reached";
165
  $l_reply_2		= "Your monthly connexion time has been reached";
180
  $l_reply_3 = "You try to connect outside of your allowed timespan";
166
  $l_reply_3		= "You try to connect outside of your allowed timespan";
181
  $l_reply_4 = "your account expired";
167
  $l_reply_4		= "your account expired";
182
  $l_reply_5 = "You have reached the maximum number of simultaneous logins";
168
  $l_reply_5		= "You have reached the maximum number of simultaneous logins";
183
  $l_reply_6 = "Your authorized connexion time has been reached";
169
  $l_reply_6		= "Your authorized connexion time has been reached";
184
  $l_online_time = "Online-zeit";
170
  $l_online_time	= "Online-zeit";
185
  $l_remaining_time = "Restzeit";
171
  $l_remaining_time	= "Restzeit";
186
  $l_uam_domain = "Autorisierten websites : ";}
172
  $l_uam_domain		= "Autorisierten websites : ";}
187
else if($Language == 'nl'){
173
else if($Language == 'nl'){
188
  $l_ChilliError	= "De authenticatie moet een succes worden via de captive portal dienst.";
174
  $l_ChilliError	= "De authenticatie moet een succes worden via de captive portal dienst.";
189
  $l_login		= "Succesvolle authenticatie.<HR>Dit venster te sluiten onderbreekt uw sessie.";
175
  $l_login		= "Succesvolle authenticatie.<HR>Dit venster te sluiten onderbreekt uw sessie.";
190
  $l_logout		= "Slotkoers verbinding";
176
  $l_logout		= "Slotkoers verbinding";
191
  $l_loginfailed	= "Authenticatie mislukt";
177
  $l_loginfailed	= "Authenticatie mislukt";
Line 198... Line 184...
198
  $l_onlinetime		= "Sluit tijd:";
184
  $l_onlinetime		= "Sluit tijd:";
199
  $l_remainingtime	= "Verbreking in:";
185
  $l_remainingtime	= "Verbreking in:";
200
  $l_encrypted		= "De opening moet gebruiken gecodeerde verbinding";
186
  $l_encrypted		= "De opening moet gebruiken gecodeerde verbinding";
201
  $l_boutonO		= "Authenticatie";
187
  $l_boutonO		= "Authenticatie";
202
  $l_boutonF		= "Sluiten";
188
  $l_boutonF		= "Sluiten";
203
  $l_loggedin_stringl1 = "Information System Security";
189
  $l_loggedin_stringl1	= "Information System Security";
204
  $l_loggedin_stringl2 = "Het portaal werd opgericht verordeningen om de traceerbaarheid, verantwoordelijkheid en onloochenbaarheid van de verbindingen.";
190
  $l_loggedin_stringl2	= "Het portaal werd opgericht verordeningen om de traceerbaarheid, verantwoordelijkheid en onloochenbaarheid van de verbindingen.";
205
  $l_loggedin_stringl3 = "Uw activiteit op het netwerk is geregistreerd in overeenstemming met de persoonlijke levenssfeer.";
191
  $l_loggedin_stringl3	= "Uw activiteit op het netwerk is geregistreerd in overeenstemming met de persoonlijke levenssfeer.";
206
  $l_loggedin_stringl4 = "De geregistreerde gegevens kunnen worden kunnen worden bediend door een rechterlijke instantie in de loop van een onderzoek.";
192
  $l_loggedin_stringl4	= "De geregistreerde gegevens kunnen worden kunnen worden bediend door een rechterlijke instantie in de loop van een onderzoek.";
207
  $l_loggedin_stringl5 = "Deze gegevens worden automatisch verwijderd na een jaar.";
193
  $l_loggedin_stringl5	= "Deze gegevens worden automatisch verwijderd na een jaar.";
208
  $l_loggedin_stringl6 = "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
194
  $l_loggedin_stringl6	= "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
209
  $l_loggedout_string = "Logout gemaakt intern portaal!";
195
  $l_loggedout_string	= "Logout gemaakt intern portaal!";
210
  $l_reply_1 = "Your daily connexion time has been reached";
196
  $l_reply_1 		= "Your daily connexion time has been reached";
211
  $l_reply_2 = "Your monthly connexion time has been reached";
197
  $l_reply_2		= "Your monthly connexion time has been reached";
212
  $l_reply_3 = "You try to connect outside of your allowed timespan";
198
  $l_reply_3		= "You try to connect outside of your allowed timespan";
213
  $l_reply_4 = "your account expired";
199
  $l_reply_4		= "your account expired";
214
  $l_reply_5 = "You have reached the maximum number of simultaneous logins";
200
  $l_reply_5		= "You have reached the maximum number of simultaneous logins";
215
  $l_reply_6 = "Your authorized connexion time has been reached";
201
  $l_reply_6		= "Your authorized connexion time has been reached";
216
  $l_online_time = "Online tijd";
202
  $l_online_time	= "Online tijd";
217
  $l_remaining_time = "Reterende tijd";
203
  $l_remaining_time	= "Reterende tijd";
218
  $l_uam_domain = "Geautoriseerde website : ";}
204
  $l_uam_domain		= "Geautoriseerde website : ";}
219
else if($Language == 'fr'){
205
else if($Language == 'fr'){
220
  $l_ChilliError	= "L'authentification doit être réussie sur le portail captif.";
206
  $l_ChilliError	= "L'authentification doit être réussie sur le portail captif.";
221
  $l_login		= "Authentification réussie.<HR>La fermeture de cette fenêtre interrompt votre session.";
207
  $l_login		= "Authentification réussie.<HR>La fermeture de cette fenêtre interrompt votre session.";
222
  $l_logout		= "Fermeture de la session";
208
  $l_logout		= "Fermeture de la session";
223
  $l_loginfailed	= "Echec d'authentification";
209
  $l_loginfailed	= "Echec d'authentification";
Line 230... Line 216...
230
  $l_onlinetime		= "Temps de connexion:";
216
  $l_onlinetime		= "Temps de connexion:";
231
  $l_remainingtime	= "Deconnexion dans :";
217
  $l_remainingtime	= "Deconnexion dans :";
232
  $l_encrypted		= "La connexion avec le portail doit être chiffrée";
218
  $l_encrypted		= "La connexion avec le portail doit être chiffrée";
233
  $l_boutonO		= "Authentification";
219
  $l_boutonO		= "Authentification";
234
  $l_boutonF		= "Fermer";
220
  $l_boutonF		= "Fermer";
235
  $l_loggedin_stringl1 = "Sécurité des Systèmes d'Information";
221
  $l_loggedin_stringl1	= "Sécurité des Systèmes d'Information";
236
  $l_loggedin_stringl2 = "Ce contrôle a été mis en place pour assurer réglementairement la traçabilité, l'imputabilité et la non-répudiation des connexions.";
222
  $l_loggedin_stringl2	= "Ce contrôle a été mis en place pour assurer réglementairement la traçabilité, l'imputabilité et la non-répudiation des connexions.";
237
  $l_loggedin_stringl3 = "Votre activité sur le réseau est enregistrée conformément au respect de la vie privée.";
223
  $l_loggedin_stringl3	= "Votre activité sur le réseau est enregistrée conformément au respect de la vie privée.";
238
  $l_loggedin_stringl4 = "Les données enregistrées ne pourront être exploitées que par une autorité judiciaire dans le cadre d'une enquête.";
224
  $l_loggedin_stringl4	= "Les données enregistrées ne pourront être exploitées que par une autorité judiciaire dans le cadre d'une enquête.";
239
  $l_loggedin_stringl5 = "Ces données seront automatiquement supprimées au bout d'un an.";
225
  $l_loggedin_stringl5	= "Ces données seront automatiquement supprimées au bout d'un an.";
240
  $l_loggedin_stringl6 = "Cliquez <a href='$alcasarpath'>ici</a> pour changer votre mot de passe ou pour intégrer le certificat de sécurité à votre navigateur";
226
  $l_loggedin_stringl6	= "Cliquez <a href='$alcasarpath'>ici</a> pour changer votre mot de passe ou pour intégrer le certificat de sécurité à votre navigateur";
241
  $l_loggedout_string = "Déconnexion du portail captif effectuée !";
227
  $l_loggedout_string	= "Déconnexion du portail captif effectuée !";
242
  $l_reply_1 = "Votre durée de connexion journaliè a été atteinte";
228
  $l_reply_1		= "Votre durée de connexion journaliè a été atteinte";
243
  $l_reply_2 = "Votre durée de connexion mensuelle a été atteinte";
229
  $l_reply_2		= "Votre durée de connexion mensuelle a été atteinte";
244
  $l_reply_3 = "Vous tentez de vous connecter en dehors de votre période autorisée";
230
  $l_reply_3		= "Vous tentez de vous connecter en dehors de votre période autorisée";
245
  $l_reply_4 = "Votre compte a expiré";
231
  $l_reply_4		= "Votre compte a expiré";
246
  $l_reply_5 = "Vous avez atteint le nombre maximum de connexions simultanées";
232
  $l_reply_5		= "Vous avez atteint le nombre maximum de connexions simultanées";
247
  $l_reply_6 = "Votre durée de connexion autorisée a été atteinte";
233
  $l_reply_6		= "Votre durée de connexion autorisée a été atteinte";
248
  $l_online_time = "Temps de connexion";
234
  $l_online_time	= "Temps de connexion";
249
  $l_remaining_time = "Temps restant";
235
  $l_remaining_time	= "Temps restant";
250
  $l_uam_domain = "Sites autorisés : ";}
236
  $l_uam_domain		= "Sites autorisés : ";}
251
else{
237
else{
252
  $l_ChilliError	= "The authentication must be successful through the captive portal service.";
238
  $l_ChilliError	= "The authentication must be successful through the captive portal service.";
253
  $l_login		= "Successful authentication.<HR>Closing this window interrupts your session";
239
  $l_login		= "Successful authentication.<HR>Closing this window interrupts your session";
254
  $l_logout		= "Closing connection";
240
  $l_logout		= "Closing connection";
255
  $l_loginfailed	= "Authentication Failed";
241
  $l_loginfailed	= "Authentication Failed";
Line 262... Line 248...
262
  $l_onlinetime		= "Connect time:";
248
  $l_onlinetime		= "Connect time:";
263
  $l_remainingtime	= "Disconnection in:";
249
  $l_remainingtime	= "Disconnection in:";
264
  $l_encrypted		= "The connection with the portal must be encrypted";
250
  $l_encrypted		= "The connection with the portal must be encrypted";
265
  $l_boutonO		= "Authentication";
251
  $l_boutonO		= "Authentication";
266
  $l_boutonF		= "Close";
252
  $l_boutonF		= "Close";
267
  $l_loggedin_stringl1 = "Information System Security";
253
  $l_loggedin_stringl1	= "Information System Security";
268
  $l_loggedin_stringl2 = "That control was set up regulations to ensure traceability, accountability and non-repudiation of connections.";
254
  $l_loggedin_stringl2	= "That control was set up regulations to ensure traceability, accountability and non-repudiation of connections.";
269
  $l_loggedin_stringl3 = "Your activity on the network is registered in accordance with privacy.";
255
  $l_loggedin_stringl3	= "Your activity on the network is registered in accordance with privacy.";
270
  $l_loggedin_stringl4 = "The recorded data can be able to be operated by a judicial authority in the course of an investigation.";
256
  $l_loggedin_stringl4	= "The recorded data can be able to be operated by a judicial authority in the course of an investigation.";
271
  $l_loggedin_stringl5 = "These data will be automatically deleted after one year.";
257
  $l_loggedin_stringl5	= "These data will be automatically deleted after one year.";
272
  $l_loggedin_stringl6 = "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
258
  $l_loggedin_stringl6	= "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
273
  $l_loggedout_string = "Disconnection of the captive portal made";
259
  $l_loggedout_string	= "Disconnection of the captive portal made";
274
  $l_reply_1 = "Your daily connexion time has been reached";
260
  $l_reply_1		= "Your daily connexion time has been reached";
275
  $l_reply_2 = "Your monthly connexion time has been reached";
261
  $l_reply_2		= "Your monthly connexion time has been reached";
276
  $l_reply_3 = "You try to connect outside of your allowed timespan";
262
  $l_reply_3		= "You try to connect outside of your allowed timespan";
277
  $l_reply_4 = "your account expired";
263
  $l_reply_4		= "your account expired";
278
  $l_reply_5 = "You have reached the maximum number of simultaneous logins";
264
  $l_reply_5		= "You have reached the maximum number of simultaneous logins";
279
  $l_reply_6 = "Your authorized connexion time has been reached";
265
  $l_reply_6		= "Your authorized connexion time has been reached";
280
  $l_online_time = "Online time";
266
  $l_online_time	= "Online time";
281
  $l_remaining_time = "Remaining time";
267
  $l_remaining_time	= "Remaining time";
282
  $l_uam_domain = "Authorized websites : ";}
268
  $l_uam_domain		= "Authorized websites : ";}
283
 
269
 
284
# If https not use, tell it's wrong
270
# If https not use, tell it's wrong
285
if (!(isset($_SERVER['HTTPS'])&&($_SERVER['HTTPS'] == 'on'))) {
271
if (!(isset($_SERVER['HTTPS'])&&($_SERVER['HTTPS'] == 'on'))) {
286
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
272
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
287
<html>
273
<html>
Line 487... Line 473...
487
				</ul>
473
				</ul>
488
			</td>
474
			</td>
489
		</tr>
475
		</tr>
490
	</table>";
476
	</table>";
491
 
477
 
492
// Read the "Domain alowed" file
478
// Read the "Domain allowed" file
493
$tab=file(DOMAIN_ALLOWED_LIST);
479
$tab=file(DOMAIN_ALLOWED_LIST);
494
if ($tab)  # the file isn't empty
480
if ($tab)  # the file isn't empty
495
	{
481
	{
496
	echo "<div id=\"authorized_domain\">$l_uam_domain";
482
	echo "<div id=\"authorized_domain\">$l_uam_domain";
497
	foreach ($tab as $line)
483
	foreach ($tab as $line)