PatchTwitter: rename timestamp file
This commit is contained in:
parent
bf18253a85
commit
324ffdeb19
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue