Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2599 → Rev 2600

/web/autoregistrationinfo.php
1,15 → 1,6
<?php
# $Id$
 
// CHECK IF the SMS service is enable
$service_SMS_status = false;
 
if (!$service_SMS_status) {
header('Location: /');
exit();
}
 
 
define('CONF_FILE', '/usr/local/etc/alcasar.conf');
 
// Read CONF_FILE
26,10 → 17,16
}
fclose($file_conf);
 
$organisme = trim($conf["ORGANISM"]);
$current_num='XXXXXXXXXX';
// Check if the SMS service is enable
if ($conf['SMS'] !== 'on') {
header('Location: /');
exit();
}
 
$organisme = $conf['ORGANISM'];
$current_num = $conf['SMS_NUM'];
 
 
// Choice of language
$Language = 'en';
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
/web/index.php
58,7 → 58,7
$redirect_link = 'www.euronews.com'; // Default redirection for HTTPS interception (beware, this website must run in HTTP)
 
// Check if the SMS service is enable
$service_SMS_status = false;
$service_SMS_status = ($conf['SMS'] === 'on');
 
// Retrieve the user info behind the remote ip
$output = [];
/web/intercept.php
64,7 → 64,7
$adminurl = "";
 
// Check if the SMS service is enable
$service_SMS_status = false;
$service_SMS_status = ($conf['SMS'] === 'on');
 
// Our own path
$loginpath = htmlspecialchars($_SERVER['PHP_SELF']);