mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 16:19:58 +09:00
Add option to make pages available only on one domain
- 2021년에 next 브랜치 적용을 목표로 작업했던 것 가져옴 - modules 테이블에 domain_srl을 추가하여 특정 도메인에서만 유효하도록 설정 가능 - site_srl 변수를 사용하던 곳 중 삭제할 수 있는 곳은 모두 삭제함
This commit is contained in:
parent
ded3b97208
commit
f596947d0e
57 changed files with 163 additions and 197 deletions
|
|
@ -1,9 +1,16 @@
|
|||
<query id="getPageList" action="select">
|
||||
<tables>
|
||||
<table name="modules" />
|
||||
<table name="domains" type="left join">
|
||||
<conditions>
|
||||
<condition operation="equal" column="modules.domain_srl" default="domains.domain_srl" />
|
||||
<condition operation="notequal" column="modules.domain_srl" default="-1" />
|
||||
</conditions>
|
||||
</table>
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="*" />
|
||||
<column name="modules.*" />
|
||||
<column name="domains.domain" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="module" default="page" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue