Explorar el Código

Added default timezone to PHP scripts

Taddeus Kroes hace 12 años
padre
commit
2a6c07160f
Se han modificado 2 ficheros con 2 adiciones y 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');