This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT sys_template.config, REPLACE(config, ' HTML', ' TEXT') | |
FROM `sys_template` | |
INNER JOIN pages ON pages.uid = sys_template.pid | |
WHERE `config` REGEXP BINARY 'HTML' | |
AND sys_template.deleted = 0 AND sys_template.pid >= '0' | |
AND pages.deleted = 0 |
NewerOlder