update 2025-03-06 10:52:13
This commit is contained in:
parent
46ab75a956
commit
1f61fb1b78
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
## Structure
|
## Structure
|
||||||
|
|
||||||
**remote:** `http[s]://[auth@]<host><path>?fmt=<format>&behav=<behavior>[&key=value][#label]`
|
**remote:** `http[s]://[auth@]<host><path>?fmt=<format>&behav=<behavior>[&key=value][#label]`\
|
||||||
**local:** `file://[host]<path>?fmt=<format>&behav=<behavior>[&fill=<base64edStr>][#label]`
|
**local:** `file://[host]<path>?fmt=<format>&behav=<behavior>[&fill=<base64edStr>][#label]`\
|
||||||
**inline:** `inline://<Base64edStr>?behav=<behavior>[#label]`
|
**inline:** `inline://<Base64edStr>?behav=<behavior>[#label]`
|
||||||
|
|
||||||
## Components
|
## Components
|
||||||
|
@ -18,8 +18,8 @@ Add it only if required by the target host.
|
||||||
|
|
||||||
### Host
|
### Host
|
||||||
|
|
||||||
The format is `hostname[:port]`.
|
The format is `hostname[:port]`.\
|
||||||
`hostname` can be **Domain** or **IP Address**.
|
`hostname` can be **Domain** or **IP Address**.\
|
||||||
`:port` is optional, add it only if required by the target host.
|
`:port` is optional, add it only if required by the target host.
|
||||||
|
|
||||||
### Path
|
### Path
|
||||||
|
@ -48,7 +48,7 @@ The update interval for the Rule set, in seconds or /^(\d+)(s|m|h|d)?$/.
|
||||||
|
|
||||||
#### rawQuery
|
#### rawQuery
|
||||||
|
|
||||||
This parameter is required if the original link contains a url query.
|
This parameter is required if the original link contains a url query.\
|
||||||
Encrypt the part `key1=value1&key2=value2` after `?` in the original link with `encodeURIComponent` and use it as the payload of this parameter.
|
Encrypt the part `key1=value1&key2=value2` after `?` in the original link with `encodeURIComponent` and use it as the payload of this parameter.
|
||||||
|
|
||||||
#### filler
|
#### filler
|
||||||
|
@ -65,5 +65,5 @@ Generation steps:
|
||||||
|
|
||||||
### URIFragment
|
### URIFragment
|
||||||
|
|
||||||
Ruleset label. Empty strings are not recommended.
|
Ruleset label. Empty strings are not recommended.\
|
||||||
Need encoded by `encodeURIComponent`.
|
Need encoded by `encodeURIComponent`.
|
||||||
|
|
|
@ -26,19 +26,24 @@
|
||||||
|
|
||||||
**If you need to change the upload limit for Tiny File Manager**
|
**If you need to change the upload limit for Tiny File Manager**
|
||||||
|
|
||||||
Edit [config.js](htdocs/luci-static/resources/view/tinyfilemanager/config.js) before build
|
Edit [config.js](htdocs/luci-static/resources/view/tinyfilemanager/config.js) before build\
|
||||||
Edit `/www/luci-static/resources/view/tinyfilemanager/config.js` in router
|
Edit `/www/luci-static/resources/view/tinyfilemanager/config.js` in router
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
o = s.option(form.Value, 'max_upload_size', _('Max upload size (MBytes)'));
|
o = s.option(form.Value, 'max_upload_size', _('Max upload size (MBytes)'));
|
||||||
o.datatype = "and(uinteger,max(2048))"; //limit to 2048MB
|
o.datatype = "and(uinteger,max(2048))"; //limit to 2048MB
|
||||||
```
|
```
|
||||||
|
|
||||||
And edit [Makefile](Makefile) before build
|
And edit [Makefile](Makefile) before build
|
||||||
|
|
||||||
```makefile
|
```makefile
|
||||||
total_size_limit=?? #Total size of multiple files
|
total_size_limit=?? #Total size of multiple files
|
||||||
single_size_limit=?? #Max single file size
|
single_size_limit=?? #Max single file size
|
||||||
otime_uploads_limit=?? #Max count of simultaneous uploads
|
otime_uploads_limit=?? #Max count of simultaneous uploads
|
||||||
```
|
```
|
||||||
|
|
||||||
And edit `/etc/php.ini` in router
|
And edit `/etc/php.ini` in router
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
post_max_size = ?? ;Total size of multiple files
|
post_max_size = ?? ;Total size of multiple files
|
||||||
upload_max_filesize = ?? ;Max single file size
|
upload_max_filesize = ?? ;Max single file size
|
||||||
|
|
Loading…
Reference in New Issue