GithubHelp home page GithubHelp logo

guoyu07 / onedrive_share Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maysrp/onedrive_share

0.0 0.0 0.0 18 KB

利用Onedrive 作存储载体的个人分享网盘

Home Page: http://45.32.91.218

License: Apache License 2.0

HTML 24.73% PHP 71.16% JavaScript 4.11%

onedrive_share's Introduction

onedrive_share

利用Onedrive 作存储载体的个人分享网盘

share.png

share2.png

##基础配置

###安装基础

onedrive安装:https://github.com/0oVicero0/OneDrive

让你在其他用户也可以执行onedrive【这个比较粗暴】

$ chmod -R 777 /usr/local/etc/OneDrive/Business/ 

PHP>5.3 PHP<7

###文件配置

define('SIZE',1000000);//该项为限制上传文件的大小
define('PASS','123');//密码 密码若为空则不验证。

/download/ 设置为777

/hash/ 设置777 ###php.ini 配置 修改以下配置


max_execution_time=600 //php运行时间建议600s

max_input_time = 600 //最大接受数据时间

memory_limit = 32m //每个进程消耗的内存;

file_uploads = on //是否运行上传 

upload_max_filesize = 200m //最大上传文件大小

post_max_size = 200m //post最大文件大小

开启PHP禁止函数 : disable_functions中的exec()

广告修改

/static/footer.html

第8行 代码修改即可

onedrive_share's People

Contributors

maysrp 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.