mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
위젯 스타일 지정할때 배경이미지가 none으로 등록될 경우 이를 브라우저에서 재요청하는 문제가 발생하여 서버에 부하를 주는 현상을 제거
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5371 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
abb8713bbd
commit
19eb87149e
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@
|
|||
* 관리자가 지정한 위젯의 style을 구함
|
||||
**/
|
||||
// 가끔 잘못된 코드인 background-image:url(none)이 들어 있을 수가 있는데 이럴 경우 none에 대한 url을 요청하므로 무조건 제거함
|
||||
$style = preg_replace('/background\-image: url\(none\)/is','', $args->style);
|
||||
$style = preg_replace('/background\-image: url\((.+)(\/?)none\)/is','', $args->style);
|
||||
|
||||
// 내부 여백을 둔 것을 구해서 style문으로 미리 변경해 놓음
|
||||
$widget_padding_left = $args->widget_padding_left;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue