图片本地化插件
<?php /* Plugin Name: 图片本地化 Version: 1.2 Plugin URL:http://www.qiyuuu.com/for-emlog/emlog-plugin-images-to-local Description: 保存日志时将日志中的远程图片本地化 Author: 奇遇 Author Email: [email protected] Author URL: http://www.qiyuuu.com/ */ function img2local($logid) { global $logData; $Log_Model = new Log_Model(); $isImg2local = isset($_POST['img2local']) ? trim($_POST['img2local']) : ''; if(!$isImg2local) { return; }
修补
开头加上
!defined('EMLOG_ROOT') && exit('access deined!');
- 左青龙
- 微信扫一扫
- 右白虎
- 微信扫一扫
评论