mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
@@ -102,12 +102,7 @@ if ($ENABLED_DARKMODE === True) {
|
|||||||
|
|
||||||
<!-- Servertime to the right of the hostname -->
|
<!-- Servertime to the right of the hostname -->
|
||||||
<script>
|
<script>
|
||||||
<?php
|
|
||||||
$conf_file = '../config/version.conf';
|
|
||||||
$conf_data = parse_ini_file($conf_file);
|
|
||||||
# set timezone for server time in header
|
|
||||||
date_default_timezone_set($conf_data['TZ']);
|
|
||||||
?>
|
|
||||||
var pia_servertime = new Date(<?php echo date("Y, n, j, G, i, s") ?>);
|
var pia_servertime = new Date(<?php echo date("Y, n, j, G, i, s") ?>);
|
||||||
|
|
||||||
function show_pia_servertime() {
|
function show_pia_servertime() {
|
||||||
|
|||||||
Reference in New Issue
Block a user