mirror of
https://github.com/pi-hole/web.git
synced 2026-04-22 09:48:56 +01:00
Check if time zone is set the mute some PHP warnings
This commit is contained in:
@@ -29,6 +29,12 @@
|
||||
$privacyMode = false;
|
||||
}
|
||||
|
||||
// Check if time zone is set
|
||||
// https://github.com/pi-hole/AdminLTE/pull/394
|
||||
if (!date_default_timezone_get("date.timezone")) {
|
||||
date_default_timezone_set("UTC");
|
||||
}
|
||||
|
||||
/******* Public Members ********/
|
||||
function getSummaryData() {
|
||||
$domains_being_blocked = gravityCount();
|
||||
|
||||
Reference in New Issue
Block a user