Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2369 → Rev 2370

/web/status.php
44,6 → 44,7
$connection_history = '';
$nb_connection_history = 3;
$homepage_url = (($conf['HTTPS_LOGIN'] === 'on') ? 'https' : 'http' ).'://'.$conf['HOSTNAME'].'.'.$conf['DOMAIN'].'/';
$useHTTPS = ((isset($_SERVER['HTTPS'])) && (!empty($_SERVER['HTTPS'])) && ($_SERVER['HTTPS'] !== 'off'));
 
// Wait for chilli (update its tables)
sleep(1); // TODO: wait after login only?
354,6 → 355,11
<title>ALCASAR - <?= $organisme ?></title>
<link type="text/css" href="css/status.css" rel="stylesheet">
<script src="js/ChilliLibrary.js"></script>
<script>
chilliController.host = '<?= $conf['HOSTNAME'].'.'.$conf['DOMAIN'] ?>';
chilliController.port = <?= (($useHTTPS) ? 3991 : 3990) ?>;
chilliController.ssl = <?= (($useHTTPS) ? 'true' : 'false') ?>;
</script>
<script src="js/statusControler.js"></script>
</head>
<body>