diff options
Diffstat (limited to 'themeConfig.php')
| -rw-r--r-- | themeConfig.php | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/themeConfig.php b/themeConfig.php deleted file mode 100644 index bb0285e..0000000 --- a/themeConfig.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -/** - * ThemeConfig.php - * 主题高级设置 - * - * Notice: 这些都是普通用户不常用的设置项,故单独放在这里 - * 通常 'on' 表示开启;'off' 则表示关闭 - */ - -/* 语言 */ -$GLOBALS['miraclesLang'] = 'zh-cn'; //在这里写入语言文件的名字(如 zh-cn.php 就是 zh-cn) - -/* 字体 */ - -//主题字体 CDN -$GLOBALS['miraclesFontCDN'] = array( - 'if' => 'on', //是否开启字体 CDN(使用思源宋体/黑体) - 'cdn' => 'google_font' //默认 Google Font,可选项:google_font / font_lolinet,或者直接输入字体文件 url -); - -/* 文章缩略图 */ - -//是否剪裁文章缩略图 -//使用 TimThumb 剪裁文章缩略图能达到最好效果,但会消耗服务器资源 -$GLOBALS['miraclesIfTimThumb'] = 'off'; - -//图片剪裁大小(开启上一条才会有效) -$GLOBALS['miraclesIfTimThumbSize'] = 'regular';//可选:regular / big / large / huge - -//TimThumb 允许的外部链接 -//如果你使用的外部图床或者 CDN 被 TimThumb 屏蔽,请将其域名加入到下面的数组 -$GLOBALS['miraclesTimThumbAllowList'] = array ( - 'flickr.com', - 'staticflickr.com', - 'picasa.com', - 'img.youtube.com', - 'upload.wikimedia.org', - 'photobucket.com', - 'imgur.com', - 'imageshack.us', - 'tinypic.com', - 'jsdelivr.net' -); - -/* 页面压缩 */ - -//是否压缩 HTML 源代码 -//压缩能优化页面传输速度,但可能会给服务器增加一定负担(不过也还好 -$GLOBALS['miraclesIfCompressHTML'] = 'off'; - -/** ========= NOTICE ========== * - * 每次更新前都请备份您的 themeConfig.php 文件 - * 新 release 发布时会提示此文件是否有变动 - * 若无,则无需更新 themeConfig.php,覆盖其他文件即可; - * 若有,则会在更新内容之前用注释分割, - * 请复制源文件的所有内容并覆盖新文件注释之前的内容 */
\ No newline at end of file |
