nagios4/debian/patches/99_fix_php_warning.patch
2017-05-19 22:22:41 +02:00

21 lines
486 B
Diff

Author: Alexander Wirt <formorer@debian.org>
Description: No description.
--- a/html/index.php
+++ b/html/index.php
@@ -8,6 +8,7 @@
</head>
<?php
+date_default_timezone_set('UTC');
// allow specifying main window URL for permalinks, etc.
$corewindow="main.php";
if(isset($_GET['corewindow'])){
--- a/html/main.php
+++ b/html/main.php
@@ -1,5 +1,6 @@
<?php
include_once(dirname(__FILE__).'/includes/utils.inc.php');
+date_default_timezone_set('UTC');
$this_version="3.5.1";