mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update functions_atom.php
This commit is contained in:
parent
8365b6bde5
commit
80908c515d
@ -179,7 +179,7 @@ function create_atom ($file_path, $mode, $id, $title, $topics)
|
||||
}
|
||||
$atom .= "</feed>";
|
||||
@unlink($file_path);
|
||||
$fp = fopen($file_path, "wb");
|
||||
$fp = fopen($file_path, "wb+");
|
||||
fwrite($fp, $atom);
|
||||
fclose ($fp);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user