Explorar o código

Added default timezone to PHP scripts

Taddeus Kroes %!s(int64=12) %!d(string=hai) anos
pai
achega
2a6c07160f
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      index.php
  2. 1 0
      settings.php

+ 1 - 0
index.php

@@ -1,4 +1,5 @@
 <?php
+date_default_timezone_set('Europe/Amsterdam');
 function getwday($day) {
     $wdays = array('zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag',
                    'vrijdag', 'zaterdag');

+ 1 - 0
settings.php

@@ -1,4 +1,5 @@
 <?php
+date_default_timezone_set('Europe/Amsterdam');
 function getwday($day) {
     $wdays = array('zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag',
                    'vrijdag', 'zaterdag');