Skip to content

Commit

Permalink
默认不启用sm.ms图床及图片压缩
Browse files Browse the repository at this point in the history
  • Loading branch information
mokeyjay committed Jul 24, 2017
1 parent 8f7c003 commit 6ab0962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Conf.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@ class Conf
* 如果连续3次上传失败,则从服务器本地读取图片,确保访问正常
* @var bool
*/
public static $enable_smms = TRUE;
public static $enable_smms = FALSE;

/**
* 压缩缩略图,在几乎不损失画质的前提下压缩50%左右,降低服务器带宽压力
* 上面的 $downloadtrue时此项才会生效
* 需要 GD
* @var bool
*/
public static $enable_comporess = TRUE;
public static $enable_comporess = FALSE;


/**
Expand Down

0 comments on commit 6ab0962

Please sign in to comment.