Automation init...3

This commit is contained in:
최준흠 2024-09-12 19:46:12 +09:00
parent 8399725d43
commit cb34143e90

View File

@ -137,8 +137,8 @@ class YamapLibrary extends MyCrawlerLibrary
switch ($this->getMyStorage()->getOrintginType()) {
case "image":
$content = sprintf(
"<img src=\"%s/wp-content/uploads/mangboard/%s/%s\" alt=\"%s\">",
$this->getMySocket()->getHost(),
"<img src=\"%s/%s/%s\" alt=\"%s\">",
getenv("mangboard.uloads.url"),
$this->getMyStorage()->getPath(),
$this->getMyStorage()->getOriginName(),
$this->getMyStorage()->getOriginName()
@ -147,11 +147,11 @@ class YamapLibrary extends MyCrawlerLibrary
case "video":
$content = sprintf(
"<video alt=\"%s\" controls autoplay>
<source src=\"%s/wp-content/uploads/mangboard/%s/%s\" type=\"%s\">
<source src=\"%s/%s/%s\" type=\"%s\">
Your browser does not support the video tag.
</video>",
$this->getMyStorage()->getOriginName(),
$this->getMySocket()->getHost(),
getenv("mangboard.uloads.url"),
$this->getMyStorage()->getPath(),
$this->getMyStorage()->getOriginName(),
$this->getMyStorage()->getMimeType(),