• ºÓÄÏÍøÕ¾½¨Éè-Ö£ÖÝÍøÕ¾Éè¼Æ-Ö£ÖÝÍøÕ¾½¨Éè-ÊÖ»ú½¨Õ¾-Ö£Öݽ¨Õ¾-ÉϺ£½¨Õ¾

  • רעÍøÕ¾½¨Éè ·þÎñÈÈÏߣº 13061801310

µ±Ç°Î»Ö㺶«¶«Íø > ½üÆÚ¶¯Ì¬ > ½¨Õ¾³£¼ûÎÊÌâ > ÕýÎÄ

Ö¯Ãκǫ́ËõÂÔͼ±¾µØÉÏ´«Í¼Æ¬¼Óˮӡ

·¢²¼Ê±¼ä:2021-04-30 | ·¢²¼Õߣº ¶«¶«¹¤×÷ÊÒ | ä¯ÀÀ´ÎÊý£º ´Î

dedecmsÖ¯Ãκǫ́Ìí¼ÓÎÄÕÂʱ£¬ËõÂÔͼÓб¾µØÉÏ´«ºÍÕ¾ÄÚÑ¡Ôñ£¬¾ÍËãÄ㿪ÆôÁËˮӡ£¬±¾µØÉÏ´«°´Å¥ÉÏ´«µÄͼƬ»¹ÊÇûÓÐ×Ô¶¯¼ÓˮӡµÄ£¬¶øÕ¾ÄÚÑ¡ÔñĬÈÏ»á°ïÄã¹´Ñ¡ÁËˮӡ¡£

Õâ¾ÍÐèÒªÎÒÃÇÊÖ¶¯À´¸øËüÒ²¿ªÆôһϡ£

1¡¢´ò¿ª /dede/archives_do.php dedeΪÄãµÄºǫ́Ŀ¼£¬ÕÒµ½

AdminUpload('litpic', 'imagelit', 0, false );

¸Ä³É

AdminUpload('litpic', 'imagelit', 0, true );

2¡¢´ò¿ª /include/helpers/upload.helper.php ÕÒµ½

if($ftype=='image' && $watermark)

¸Ä³É

if(($ftype=='image' || $ftype=='imagelit') && $watermark)

¼ÌÐøÕÒµ½

else if($water)

¸Ä³É

if($water)

ÐÞ¸ÄÍêÉÏÃæ2¸öÎļþºó£¬±¾µØÉÏ´«Í¼Æ¬¾ÍÄÜ×Ô¶¯Ìí¼ÓˮӡÀ²¡£

תÔØÇë±ê×¢£º¶«¶«¹¤×÷ÊÒ¡ª¡ªÖ¯Ãκǫ́ËõÂÔͼ±¾µØÉÏ´«Í¼Æ¬¼Óˮӡ