mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Changed parameter of use_xml_timestamp
This commit is contained in:
parent
bc2e40d0a3
commit
43261bd3f8
@ -230,7 +230,7 @@ sub data_consumer ($$) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Ignore the timestamp in the XML and use the file timestamp instead
|
# Ignore the timestamp in the XML and use the file timestamp instead
|
||||||
$xml_data->{'timestamp'} = strftime ("%Y-%m-%d %H:%M:%S", localtime((stat($file_name))[9])) if ($pa_config->{'use_xml_timestamp'} eq '1' || ! defined ($xml_data->{'timestamp'}));
|
$xml_data->{'timestamp'} = strftime ("%Y-%m-%d %H:%M:%S", localtime((stat($file_name))[9])) if ($pa_config->{'use_xml_timestamp'} eq '0' || ! defined ($xml_data->{'timestamp'}));
|
||||||
|
|
||||||
# Double check that the file exists
|
# Double check that the file exists
|
||||||
if (! -f $file_name) {
|
if (! -f $file_name) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user