mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 17:31:00 +01:00
Fix rip.txt bug
This commit is contained in:
parent
7b1a5bb0e8
commit
72092431b0
@ -59,7 +59,7 @@ if ($argc > 1) {
|
||||
$f = fopen('rip.txt', 'a');
|
||||
fwrite($f, "--\r\n");
|
||||
foreach($delete as $i => $d){
|
||||
$s = "RIP /".$d['board']."/, created by ".$d['mod']?$d['mod']:'?'." and last active on ".$d['last_activity']->format('Y-m-d H:i:s.').($d['last_mod'] ? ' Mod last active on ' . $d['last_mod']->format('Y-m-d H:i:s.') : ' Mod never active.') . " Number of posts: {$d['count']}." . "\r\n";
|
||||
$s = "RIP /".$d['board']."/, created by ".($d['mod']?$d['mod']:'?')." and last active on ".$d['last_activity']->format('Y-m-d H:i:s.').($d['last_mod'] ? ' Mod last active on ' . $d['last_mod']->format('Y-m-d H:i:s.') : ' Mod never active.') . " Number of posts: {$d['count']}." . "\r\n";
|
||||
echo $s;
|
||||
fwrite($f, $s);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user