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'])) { |