change _already_sent folder name
This commit is contained in:
parent
3d070c2fac
commit
a147e99a42
7 changed files with 8 additions and 2 deletions
1
_already_sent/0cf7dedb7cfac4340056a612bc3c50b1.txt
Normal file
1
_already_sent/0cf7dedb7cfac4340056a612bc3c50b1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
https://www.openculture.com/2025/05/how-frank-lloyd-wrights-architecture-evolved-over-70-years-and-changed-america.html
|
1
_already_sent/12b2cc8c05f23758c6e812ef34044f53.txt
Normal file
1
_already_sent/12b2cc8c05f23758c6e812ef34044f53.txt
Normal file
|
@ -0,0 +1 @@
|
|||
https://en.wikipedia.org/wiki/Rainhill_trials
|
1
_already_sent/3f2721d52927f2d2c5f1146665b441dd.txt
Normal file
1
_already_sent/3f2721d52927f2d2c5f1146665b441dd.txt
Normal file
|
@ -0,0 +1 @@
|
|||
https://fossforce.com/2025/04/is-free-or-open-source-software-sustainable/
|
1
_already_sent/8eef8d9550fb4952c4ef2ba2656b4038.txt
Normal file
1
_already_sent/8eef8d9550fb4952c4ef2ba2656b4038.txt
Normal file
|
@ -0,0 +1 @@
|
|||
https://manualdousuario.net/en/writing-chatgpt-ai/
|
1
_already_sent/a3ffc5f64551046ad7132d159f1f40e7.txt
Normal file
1
_already_sent/a3ffc5f64551046ad7132d159f1f40e7.txt
Normal file
|
@ -0,0 +1 @@
|
|||
https://goblackcat.com/feeling-exhausted/
|
1
_already_sent/db41d26877002dfa9dba650122b8a298.txt
Normal file
1
_already_sent/db41d26877002dfa9dba650122b8a298.txt
Normal file
|
@ -0,0 +1 @@
|
|||
https://fenati.org.br/brasil-prepara-marco-regulatorio-para-data-centers-com-beneficios-fiscais-e-regras-sustentaveis/#datacenter
|
|
@ -85,7 +85,7 @@ $headers = [
|
|||
'Content-Type: application/json'
|
||||
];
|
||||
|
||||
$alreadySentDir = __DIR__ . "/already_sent";
|
||||
$alreadySentDir = __DIR__ . "/_already_sent";
|
||||
|
||||
if (!is_dir($alreadySentDir)) {
|
||||
mkdir($alreadySentDir, 0755, true); // recursive mkdir
|
||||
|
@ -106,7 +106,7 @@ if (isYouTubeLink($link)) {
|
|||
// READECK will accept several times the same URL !
|
||||
// Make sure we don't send it several times by keeping an archive here
|
||||
$hash = md5($link);
|
||||
$filePath = __DIR__ . "/already_sent/{$hash}.txt";
|
||||
$filePath = __DIR__ . "/_already_sent/{$hash}.txt";
|
||||
|
||||
if (file_exists($filePath)) {
|
||||
echo "ℹ️ Already sent: $link\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue