mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Make timezone config in version.conf
This commit is contained in:
@@ -85,7 +85,7 @@ if ($ENABLED_DARKMODE === True) {
|
||||
<!-- Servertime to the right of the hostname -->
|
||||
<script>
|
||||
<?php
|
||||
$conf_file = '../config/pialert.conf';
|
||||
$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']);
|
||||
|
||||
Reference in New Issue
Block a user