|
|
@@ -5,7 +5,8 @@ DELETE FROM `sys_options` WHERE `name` IN('site_email_html_template_header', 'si
|
|
|
SET @iCategoryIdSystem = (SELECT `id` FROM `sys_options_categories` WHERE `name` = 'system');
|
|
|
INSERT INTO `sys_options`(`category_id`, `name`, `caption`, `value`, `type`, `extra`, `check`, `check_error`, `order`) VALUES
|
|
|
(@iCategoryIdSystem, 'site_email_html_template_header', '_adm_stg_cpt_option_site_email_html_template_header', '<html>\r\n <head></head>\r\n <body bgcolor="#eee" style="margin:0; padding:0;">\r\n <div style="padding:20px; background-color:#eee;">\r\n <table width="600" border="0" cellspacing="0" cellpadding="0" align="center">\r\n <tr><td valign="top">\r\n <div style="color:#333; padding:20px; border:1px solid #999; background-color:#fff; font:14px Helvetica, Arial, sans-serif;">\r\n <div style="border-bottom:2px solid #eee; padding-bottom:10px; margin-bottom:20px; font-weight:bold; font-size:22px; color:#999;">{site_name}</div>', 'text', '', '', '', 1),
|
|
|
-(@iCategoryIdSystem, 'site_email_html_template_footer', '_adm_stg_cpt_option_site_email_html_template_footer', '\r\n <div style="margin-top:5px; color:#999; font:11px Helvetica, Arial, sans-serif;">{unsubscribe}</div>\r\n </div>\r\n </td></tr>\r\n <tr><td valign="top">\r\n <div style="margin-top:5px; text-align:center; color:#999; font:11px Helvetica, Arial, sans-serif;">{about_us}</div>\r\n </td></tr>\r\n </table>\r\n </div>\r\n </body>\r\n</html>', 'text', '', '', '', 2);
|
|
|
+(@iCategoryIdSystem, 'site_email_html_template_footer', '_adm_stg_cpt_option_site_email_html_template_footer', '\r\n </div>\r\n </td></tr>\r\n <tr><td valign="top">\r\n <div style="margin-top:5px; text-align:center; color:#999; font:11px Helvetica, Arial, sans-serif;">{about_us} {unsubscribe}</div>\r\n </td></tr>\r\n </table>\r\n </div>\r\n </body>\r\n</html>', 'text', '', '', '', 2);
|
|
|
+
|
|
|
|
|
|
UPDATE `sys_options` SET `extra` = 'File,Memcache,APC,XCache' WHERE `name` IN('sys_db_cache_engine', 'sys_page_cache_engine', 'sys_pb_cache_engine');
|
|
|
UPDATE `sys_options` SET `extra` = 'FileHtml,Memcache,APC,XCache' WHERE `name` IN('sys_template_cache_engine');
|