변경 파일 목록
총 4개
Admin (1)
base_seo.phppolicy/Component (1)
Mall.phpMall/변경 파일 코드
추가삭제
변경 전base_seo.php
| <tr> | |
| <th>모바일 쇼핑몰</th> | |
| <td class="form-inline"> | |
| <?php echo URI_MOBILE;?><input type="text" name="errPage[mobile]" value="<?php echo $data['errPage']['mobile']; ?>" class="form-control width-lg"/> | |
| </td> | |
| </tr> | |
| </table> | |
변경 후base_seo.php
| <tr> | |
| <th>모바일 쇼핑몰</th> | |
| <td class="form-inline"> | |
| <?=$data['mallMobileDomain'] ?? URI_MOBILE?><input type="text" name="errPage[mobile]" value="<?php echo $data['errPage']['mobile']; ?>" class="form-control width-lg"/> | |
| </td> | |
| </tr> | |
| </table> | |
변경 전Mall.php
| const GLOBAL_MALL_BASE_INFO = [ | |
| 'mallNmEng', | |
| 'mallFavicon', | |
| 'mallDomain', | |
| 'mallCategory', | |
| 'businessNo', | |
| 'service', | |
변경 후Mall.php
| const GLOBAL_MALL_BASE_INFO = [ | |
| 'mallNmEng', | |
| 'mallFavicon', | |
| 'mallCategory', | |
| 'businessNo', | |
| 'service', | |
변경 전BaseInfoController.php
| if (in_array($key, Mall::GLOBAL_MALL_BASE_INFO) === true) $data[$key] = $value; | |
| } | |
| $this->setData('disabled', self::ELEMENT_DISABLED); | |
| $this->setData('readonly', self::ELEMENT_READONLY); | |
| } | |
변경 후BaseInfoController.php
| if (in_array($key, Mall::GLOBAL_MALL_BASE_INFO) === true) $data[$key] = $value; | |
| } | |
| //설정한 shopDomain 있으면 덮어쓰기 | |
| if (!empty($globalsInfo[$mallSno]['connectDomain'])) { | |
| $globalShopDomains = json_decode($globalsInfo[$mallSno]['connectDomain'], true); | |
| $domainIndex = $globalsInfo[$mallSno]['useShopDomain'] ?? null; | |
| if (isset($globalShopDomains['connect'][$domainIndex])) { | |
| $data['mallDomain'] = $globalShopDomains['connect'][$domainIndex]; | |
| } | |
| } | |
| $this->setData('disabled', self::ELEMENT_DISABLED); | |
| $this->setData('readonly', self::ELEMENT_READONLY); | |
| } | |
변경 전BaseSeoController.php
| $socialData = $socialShare->getConfig(); | |
| gd_isset($socialData['snsRepresentTitle'],'{=gMall.mallNm}'); | |
| //RSS 설정 ,페이지 경로 설정 , 대표URL 설정 , 연관채널 설정 | |
| $seoData = gd_policy('basic.seo', $mallSno); | |
변경 후BaseSeoController.php
| $socialData = $socialShare->getConfig(); | |
| gd_isset($socialData['snsRepresentTitle'],'{=gMall.mallNm}'); | |
| //설정한 shopDomain 있으면 덮어쓰기 | |
| $globalsInfo = \Globals::get('gGlobal.mallList'); | |
| if (!empty($globalsInfo[$mallSno]['connectDomain'])) { | |
| $globalShopDomains = json_decode($globalsInfo[$mallSno]['connectDomain'], true); | |
| $domainIndex = $globalsInfo[$mallSno]['useShopDomain'] ?? null; | |
| if (isset($globalShopDomains['connect'][$domainIndex])) { | |
| $data['mallDomain'] = $globalShopDomains['connect'][$domainIndex]; | |
| $data['mallMobileDomain'] = \Request::getDomainUrl(DOMAIN_USEABLE_LIST['mobile'] . '.' . $globalShopDomains['connect'][$domainIndex]) . DS; | |
| } | |
| } | |
| //RSS 설정 ,페이지 경로 설정 , 대표URL 설정 , 연관채널 설정 | |
| $seoData = gd_policy('basic.seo', $mallSno); | |