PatchTwitter: rename timestamp file

This commit is contained in:
Steffen Lange 2022-04-30 01:05:30 +02:00
parent bf18253a85
commit 324ffdeb19

View file

@ -9,7 +9,7 @@ require('TwitterKey.php');
use DG\Twitter\Twitter;
function timestamp() {
$f = fopen(__DIR__ . '/timestamp.dat', 'a+');
$f = fopen(__DIR__ . '/timestamp-twitter.dat', 'a+');
flock($f, LOCK_EX);
$t = fgets($f);
ftruncate($f, 0);