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