Skip to content

Commit

Permalink
Merge pull request #142 from cooperfellows/UDOIT_issue141
Browse files Browse the repository at this point in the history
Add seconds to file name Solves #141
  • Loading branch information
bagofarms committed Apr 27, 2016
2 parents e70b905 + d8e370c commit 5ad0e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/process.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function refresh_key($o2_id, $o2_uri, $o2_key, $base_url, $refresh_token){
chmod($report_directory, 0777);
}

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

file_put_contents($file, $encoded_report);
chmod($file, 0777);
Expand Down

0 comments on commit 5ad0e1e

Please sign in to comment.