内置可扩展全局常量(可通过后台配置增加):
## 书写格式:{C('字段名')} 或 {sdcms[字段名]}
自带的固定标签**字段名**如下:
| 字段名 | 作用 |
| --- | --- |
|web_open| 网站开关|
|web_close| 关闭原因|
|web_name| 网站名称|
|web_logo| 网站Logo|
|web_icp| ICP备案号|
|version| 版本号|
|count_code|第三方统计代码|
|seo_title| 优化标题|
|seo_key| 网站关键字|
|seo_desc| 网站描述|
|url_mode| Url模式|
|url_mid| Url间隔符|
|url_ext| Url后缀|
|mail_type| 发送方式|
|mail_name| 发件人姓名|
|mail_sign| 邮件签名|
|mail_spilt| 邮件头分隔符|
|mail_smtp| SMTP服务器|
|mail_user| 用户名|
|mail_pass| 密码|
|mail_auth| 验证|
|mail_port| 端口|
|upload_image_max| 图像最大上传|
|upload_video_max| 视频最大上传|
|upload_file_max| 附件最大上传|
|upload_file_folder| 储存方式|
|thumb_open| 等比压缩|
|thumb_min| 压缩宽度|
|water_open| 水印开关|
|water_width| 最小宽度|
|water_height| 最小高度|
|water_opacity| 透明度|
|water_position| 水印位置|
|water_logo| 水印Logo|
|mobile_open| 开关|
|mobile_domain| 绑定域名|
|weixin_appid| AppID(应用ID)|
|weixin_appsecret| AppSecret(应用密钥)|
|weixin_token| Token(令牌)|
|weixin_id| 公众号的微信号|
|weixin_qrcode| 公众号二维码|
|ct_company| 公司名称|
|ct_tel| 服务热线|
|ct_fax| 传真号码|
|ct_mobile| 手机号码|
|ct_email| 电子邮箱|
|ct_address| 公司地址|