Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/06/2011, 15:27
50l3r
Invitado
 
Mensajes: n/a
Puntos:
Problema con la funcion date()

Me aparece el siguiente dialogo:

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\xampp\htdocs\funciones\usuarios\login.php on line 23

tengo el php.ini definido asi:

Código PHP:
[Date]
Defines the default timezone used by the date functions
http://php.net/date.timezone
date.timezone "Europe/Paris"

http://php.net/date.default-latitude
;date.default_latitude 31.7667

http://php.net/date.default-longitude
;date.default_longitude 35.2333

http://php.net/date.sunrise-zenith
;date.sunrise_zenith 90.583333

http://php.net/date.sunset-zenith
;date.sunset_zenith 90.583333 
Y en el config.php que defino en mi fichero raiz al principio de todo asi:

date_default_timezone_set('Europe/Paris');

Alguna idea de porque me puede estar dando ese warning?

Un saludo y gracias