GithubHelp home page GithubHelp logo

philip8728 / kindeditor-oss Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xinyi007/kindeditor-oss

0.0 3.0 0.0 934 KB

License: GNU Lesser General Public License v2.1

JavaScript 89.19% PHP 6.03% HTML 1.02% CSS 3.76%

kindeditor-oss's Introduction

kindeditor-oss

基于阿里云OSS的PHP富文本编辑器

编辑器是基于KindEditor 4.1.10 版本进行改进的

主要修改文件: php/upload_json.php 文件

为兼容PHP7,修改了部分 php/JSON.php 文件

demo.php 是演示文件,仅做测试使用!

file_manager_json.php 是图片中心,地址调用了OSS地址,但本地路径还是调用tmp目录

要达到100%可以参考将OSS挂载本地磁盘,然后进行同步!

具体参考:http://bbs.aliyun.com/read/241320.html?spm=5176.bbsl211.0.0.2nsAZu

其他方面暂无其他的修改,upload_json.php主要该几个方面:

const OSS_ACCESS_ID = '您从OSS获得的AccessKeyId'; const OSS_ACCESS_KEY = '您从OSS获得的AccessKeySecret'; const OSS_ENDPOINT = 'OSS的域名,如 oss-cn-hangzhou.aliyuncs.com'; $bucket= "您在OSS上的Bucket"; $urls = '您访问OSS的地址';

欢迎一起交流PHP

团队博客:http://tech.ynho.com

腾讯微博:http://t.qq.com/xinyi007

新浪微博:http://weibo.com/ynho

微信/QQ添加:xinyi007/59471(请注明:PHP技术交流)

kindeditor-oss's People

Contributors

xinyi007 avatar

Watchers

James Cloos avatar Lidai avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.