ECSHOP商品描述和文章里不加水印,只在商品图片和商品相册加水印

fckeditor\editor\filemanager\connectors\php

                    //判断并给符合条件图片加上水印
                    if ($**tension == 'jpg' || $**tension == 'jpeg' || $**tension == 'png' || $**tension == 'gif' || $**tension == 'bmp' )
                    {
//                        require_once(ROOT_PATH . '/includes/cls_image.php');
//                        $image = new cls_image($GLOBALS['_CFG']['bgcolor']);
//
//                        if (intval($GLOBALS['_CFG']['watermark_place']) > 0 && !empty($GLOBALS['_CFG']['watermark']))
//                        {
//                            $image->add_watermark($sFilePath,'','../../../../../'.$GLOBALS['_CFG']['watermark'], $GLOBALS['_CFG']['watermark_place'], $GLOBALS['_CFG']['watermark_alpha']);
//                        }
                    }

把添加水印功能注释掉,让他不起作用!

 

posted @ 2013-08-20 09:26  做个好男人  阅读(1396)  评论(0编辑  收藏  举报