Subversion Repositories ALCASAR

Rev

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

Rev 1249 Rev 1269
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: intercept.php 1249 2013-10-22 22:09:01Z richard $
2
# $Id: intercept.php 1269 2013-12-16 23:13:20Z 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
Line 54... Line 54...
54
	}
54
	}
55
}else{
55
}else{
56
	exit("Erreur d'ouverture du fichier ".CONF_FILE);
56
	exit("Erreur d'ouverture du fichier ".CONF_FILE);
57
}
57
}
58
fclose($ouvre);
58
fclose($ouvre);
59
$organisme = $conf["ORGANISM"];
59
$organisme = trim($conf["ORGANISM"]);
60
 
60
 
61
# Shared secret used to encrypt challenge with radius.
61
# Shared secret used to encrypt challenge with radius.
62
$uamsecret = "";
62
$uamsecret = "";
63
 
63
 
64
# URL loaded after success authenticates (let blank for browser defaults)
64
# URL loaded after success authenticates (let blank for browser defaults)
65
$adminurl = "";
65
$adminurl = "";
66
 
66
 
67
# Our own path
67
# Our own path
68
$loginpath	= $_SERVER['PHP_SELF'];
68
$loginpath	= $_SERVER['PHP_SELF'];
69
$alcasarpath = "http://alcasar";
69
$alcasarpath = "http://alcasar.".trim($conf["DOMAIN"]);
70
$statuspath = $alcasarpath."/status.php";
70
$statuspath = $alcasarpath."/status.php";
71
$debug		= false;
71
$debug		= false;
72
 
72
 
73
# Choice of language
73
# Choice of language
74
$Language = 'en';
74
$Language = 'en';