refactor
This commit is contained in:
parent
60ed00946c
commit
2c7c35cb09
10
epub.php
10
epub.php
|
@ -53,6 +53,16 @@
|
||||||
return $temp_img_path;
|
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_default_timezone_set('Europe/Paris');
|
||||||
$date = (new DateTime('today'))->format('Ymd');
|
$date = (new DateTime('today'))->format('Ymd');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue