|
Posted by Bruno Rafael Moreira de Barros on 09/28/88 12:01
strftime() [function.strftime]: It is not safe to rely on the system's
timezone settings. Please use the date.timezone setting, the TZ
environment variable 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/London' for '0.0/no DST' instead
This appeared while using Smarty. I had used Smarty before on this
computer and this had never appeared. What happened?
Smarty_Compiler.class.php:
// put header at the top of the compiled template
$template_header = "<?php /* Smarty version ".$this->_version.",
created on ".strftime("%Y-%m-%d %H:%M:%S")."\n";
$template_header .= " compiled from
".strtr(urlencode($resource_name), array('%2F'=>'/', '%3A'=>':'))."
*/ ?>\n";
The second line, where strftime() is, is what causes the error.
Navigation:
[Reply to this message]
|