feibeck / fussi

Fußi - Table Football Tracking
Other
14 stars 13 forks source link

Eliminate warning due to missing timezone setting #43

Closed lorindol closed 11 years ago

lorindol commented 11 years ago

$ vendor/bin/doctrine-module orm:schema-tool:create

PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/lorindol/Data/fussi/module/Application/config/module.config.php on line 40

feibeck commented 11 years ago

I don't think that we should do anything against misconfigured PHP installations. This should really be fixed in php.ini. Especially since the command is not from our source, but from the Doctrine module.