This commit is contained in:
quenousimporte 2024-06-14 12:20:55 +02:00
parent 60ed00946c
commit 2c7c35cb09
1 changed files with 10 additions and 0 deletions

View File

@ -53,6 +53,16 @@
return $temp_img_path;
}
function inner_html($node)
{
$innerHTML = '';
foreach ($node->childNodes as $childNode)
{
$innerHTML .= $childNode->ownerDocument->saveHTML($childNode);
}
return $innerHTML;
}
date_default_timezone_set('Europe/Paris');
$date = (new DateTime('today'))->format('Ymd');