From cb34143e9021266bd6486ed8e18a4009f9c1a030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Thu, 12 Sep 2024 19:46:12 +0900 Subject: [PATCH] Automation init...3 --- app/Libraries/MyCrawler/YamapLibrary.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Libraries/MyCrawler/YamapLibrary.php b/app/Libraries/MyCrawler/YamapLibrary.php index e62cb25..b87b304 100644 --- a/app/Libraries/MyCrawler/YamapLibrary.php +++ b/app/Libraries/MyCrawler/YamapLibrary.php @@ -137,8 +137,8 @@ class YamapLibrary extends MyCrawlerLibrary switch ($this->getMyStorage()->getOrintginType()) { case "image": $content = sprintf( - "\"%s\"", - $this->getMySocket()->getHost(), + "\"%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( "", $this->getMyStorage()->getOriginName(), - $this->getMySocket()->getHost(), + getenv("mangboard.uloads.url"), $this->getMyStorage()->getPath(), $this->getMyStorage()->getOriginName(), $this->getMyStorage()->getMimeType(),