文件路径:includes/ueditor/php/imageUp.php
//添加水印,载入水印需要的文件 @author Abner @time 20171221 start
define(‘IN_ECS‘, true);
require_once( ‘../../init.php‘);
require_once( ‘../../cls_image.php‘);
$image = new cls_image();
if (intval($_CFG[‘watermark_place‘]) > 0 && !empty($GLOBALS[‘_CFG‘][‘watermark‘]))
{
$image->add_watermark( $info[‘url‘], ‘‘, ‘../../‘.$GLOBALS[‘_CFG‘][‘watermark‘], $GLOBALS[‘_CFG‘][‘watermark_place‘], $GLOBALS[‘_CFG‘][‘watermark_alpha‘]);
}
//添加水印,载入水印需要的文件 @author Abner @time 20171221 end