mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
내부적으로 파일 생성시 퍼미션을 644로 주도록 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2621 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
283fc4d60f
commit
12b7a10761
2 changed files with 3 additions and 0 deletions
|
|
@ -165,6 +165,7 @@
|
||||||
}
|
}
|
||||||
@fclose($ft);
|
@fclose($ft);
|
||||||
@fclose($fp);
|
@fclose($fp);
|
||||||
|
@chmod($target_filename, 0644);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
@ -272,6 +273,7 @@
|
||||||
@imagewbmp($thumb, $target_file, 100);
|
@imagewbmp($thumb, $target_file, 100);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@chmod($target_file, 0644);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -145,6 +145,7 @@
|
||||||
|
|
||||||
// 이미지 저장
|
// 이미지 저장
|
||||||
@imagegif($image, $image_src, 100);
|
@imagegif($image, $image_src, 100);
|
||||||
|
@chmod($image_src, 0644);
|
||||||
|
|
||||||
// graph의 img 태그 값을 return
|
// graph의 img 태그 값을 return
|
||||||
return sprintf('<img src="%s%s" border="0" alt="counter" />', Context::getRequestUri(), $image_src);
|
return sprintf('<img src="%s%s" border="0" alt="counter" />', Context::getRequestUri(), $image_src);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue