mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
외부이미지의 썸네일을 생성하지 못하는 문제 수정 (변수명 오타)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4340 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
96b6fb9727
commit
c4fdd3fc47
1 changed files with 2 additions and 2 deletions
|
|
@ -486,8 +486,8 @@
|
|||
$target_src = null;
|
||||
preg_match_all("!http:\/\/([^ ^\"^']*?)\.(jpg|png|gif|jpeg|bmp)!is", $content, $matches, PREG_SET_ORDER);
|
||||
for($i=0;$i<count($matches);$i++) {
|
||||
$src = $matches[$i][0];
|
||||
if(preg_match('/\/(common|modules|widgets|addons|layouts)\//i', $src)) continue;
|
||||
$target_src = $matches[$i][0];
|
||||
if(preg_match('/\/(common|modules|widgets|addons|layouts)\//i', $target_src)) continue;
|
||||
else {
|
||||
$tmp_file = sprintf('./files/cache/tmp/%d', md5(rand(111111,999999).$this->document_srl));
|
||||
FileHandler::getRemoteFile($target_src, $tmp_file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue