imgurl/config.php

19 lines
704 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?php
$config = array(
'domain' => 'http://localhost/imgurl/', //网站域名
'watermark' => 'false', //文字水印
'userdir' => 'temp', //访客上传目录,一般保持默认
'admindir' => 'upload', //管理员上传目录,一般保持默认
'username' => 'xiaoz', //管理员账号
'password' => 'xiaoz.me', //管理员密码
'tinypng' => '' //使用TinyPNG压缩图片填写TinyPNG KEY为空则不启用压缩
);
//是否启用腾讯万象优图鉴黄识别
$identify = array(
'eroticism' => false, //如果此项为true则下面必须填写请参考帮助文档。
'APP_ID' => '',
'SECRET_ID' => '',
'SECRET_KEY' => '',
'BUCKET' => ''
)
?>