Skip to content

Commit 5ad0e1e

Browse files
committed
Merge pull request #142 from cooperfellows/UDOIT_issue141
Add seconds to file name Solves #141
2 parents e70b905 + d8e370c commit 5ad0e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/process.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function refresh_key($o2_id, $o2_uri, $o2_key, $base_url, $refresh_token){
123123
chmod($report_directory, 0777);
124124
}
125125

126-
$file = $report_directory.'/'.date('Y_m_d__g:i_a').'.json';
126+
$file = $report_directory.'/'.date('Y_m_d__g:i:s_a').'.json';
127127

128128
file_put_contents($file, $encoded_report);
129129
chmod($file, 0777);

0 commit comments

Comments
 (0)