当前位置:网站首页>Baidu editor uploads pictures and sets custom directories
Baidu editor uploads pictures and sets custom directories
2022-07-23 23:20:00 【Leaf drop traceless 123】

The directory of the file to be changed

The document to be changed

Uploader.class.php
Comment or delete the default website root directory $rootPath = $_SERVER['DOCUMENT_ROOT'];
Add custom path $rootPath = '/FILES/http://static.rongtuojinrong.com/activity/juyiju';
Will replace the root directory .

config.json
The program will be in $rootPath = '/FILES/http://static.rongtuojinrong.com/activity/juyiju' Create a directory under the directory /upload/image/{yyyy}{mm}{dd}/{time}{rand:6}, The return path is /upload/image/{yyyy}{mm}{dd}/{time}{rand:6}. such as /upload/image/20190720/1563633110123456. File suffix . If /FILES/http://static.rongtuojinrong.com The corresponding domain name is http://static.rongtuojinrong.com And it's configured again "imageUrlPrefix": "http://static.rongtuojinrong.com/activity/juyiju" The final picture address is http://static.rongtuojinrong.com/activity/juyiju/upload/image/20190720/1563633110123456. File suffix .
边栏推荐
- 在openEuler社区开源的Embedded SIG,来聊聊它的多 OS 混合部署框架
- TAP 系列文章6 | TAP的应用模型
- A deserialized CTF question sharing
- EasyNVR平台如何关闭匿名登录?
- [tensorflow] check whether tensorflow GPU is available
- 作为开发,你不得不知道的三个性能测试工具|Jmeter、Apipost、JMH使用指南
- Open source embedded sig in the openeuler community. Let's talk about its multi OS hybrid deployment framework
- TAP 系列文章5 | 云原生构建服务
- FreeRTOS personal notes - delay function
- Tap series article 6 | application model of tap
猜你喜欢

Preparation for raspberry pie 3B serial port login

The canfd/can interface offline burning operation instructions of h7-tool have been updated (2022-07-12)

BGP选路,MPLS

USB转CAN设备在核酸提取仪 高性能USB接口CAN卡

strncat() strncmp()

1、 Simplification of digital logic

在openEuler社区开源的Embedded SIG,来聊聊它的多 OS 混合部署框架

Excel password related

Smart IOT source code with configuration IOT source code industrial IOT source code: support sensor analysis services, real-time data collection and remote control

在openEuler社区开源的Embedded SIG,来聊聊它的多 OS 混合部署框架
随机推荐
FL Studio 20.9 update Chinese version host Daw digital audio workstation
Principal component analysis (matlab)
At the forefront of the times, Huawei aims at the wind and sea of digital finance
作为开发,你不得不知道的三个性能测试工具|Jmeter、Apipost、JMH使用指南
Grey prediction (matlab)
FreeRTOS personal notes - create / delete dynamic tasks, start scheduler
USB Foundation
This article will show you what typescript is
[unity3d daily bug] unity3d solves "the type or namespace name" XXX "cannot be found (are you missing the using directive or assembly reference?)" Etc
砺夏行动|源启数字化:既有模式,还是开源创新?
torchvision.datasets.ImageFolder前的数据整理及使用方法
Tap series article 5 | cloud native build service
Open source embedded sig in the openeuler community. Let's talk about its multi OS hybrid deployment framework
Resolved (selenium operation Firefox Firefox browser error) attributeerror: 'webdriver' object has no attribute 'execute_ cdp_ cmd’
dried food! Implicit sparse regularization effect in neural networks
TAP 系列文章5 | 云原生构建服务
Sql156 average completion rate of each video
As a developer, you have to know the three performance testing tools JMeter, API and jmh user guide
D1-H 开发板——哪吒 开发入门
Getting started database Days1