Subversion Repositories ALCASAR

Rev

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

Rev 1211 Rev 1249
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: intercept.php 1211 2013-09-17 15:19:57Z crox53 $
2
# $Id: intercept.php 1249 2013-10-22 22:09:01Z richard $
3
#
3
#
4
# intercept.php for Alcasar captive portal
4
# intercept.php for ALCASAR captive portal
5
# Copyright (C) 2003, 2004 Mondru AB.
5
# Copyright (C) 2003, 2004 Mondru AB.
6
# Modify by REXY & steweb57
6
# Modify by REXY & steweb57
7
# UI & css style by stephane ERARD
7
# UI & css style by stephane ERARD
8
# Help for language translation by B. AUBARD (thanks)
8
# Help for language translation by B. AUBARD (thanks)
9
 
9
 
Line 51... Line 51...
51
			$tmp = explode("=",$tampon);
51
			$tmp = explode("=",$tampon);
52
			$conf[$tmp[0]] = $tmp[1];
52
			$conf[$tmp[0]] = $tmp[1];
53
		}
53
		}
54
	}
54
	}
55
}else{
55
}else{
56
	exit("Erreur d'ouverture du fichier ".ALCASAR_ETH1);
56
	exit("Erreur d'ouverture du fichier ".CONF_FILE);
57
}
57
}
58
fclose($ouvre);
58
fclose($ouvre);
59
$organisme = $conf["ORGANISM"];
59
$organisme = $conf["ORGANISM"];
60
 
60
 
61
# Shared secret used to encrypt challenge with radius.
61
# Shared secret used to encrypt challenge with radius.