Skip to content

Commit 8e70511

Browse files
committed
fixed
1 parent b4f49ef commit 8e70511

File tree

3 files changed

+34
-8
lines changed

3 files changed

+34
-8
lines changed

Contrib/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
### 运行环境配置
2+
3+
> php.ini
4+
5+
```apacheconfig
6+
upload_max_filesize = 1024M
7+
post_max_size = 1024M
8+
```
9+
10+
> nginx
11+
12+
```apacheconfig
13+
client_max_body_size 1024M;
14+
proxy_connect_timeout 9000s;
15+
proxy_read_timeout 9000s;
16+
proxy_send_timeout 9000s;
17+
```
18+
19+
20+
> 文件夹权限
21+
22+
```shell
23+
sudo chmod -R 755 public/upload/
24+
```
25+

Contrib/manifest.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"copy-from-package": {
3+
"routing/": "config/routing/",
4+
"Business/": "src/Business/",
5+
"Controller/": "src/Controller/",
6+
"public/": "public/",
7+
"Document/":"src/Document/"
8+
}
9+
}

composer.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,5 @@
2424
"require": {
2525
"phpzlc/phpzlc": "2.*",
2626
"phpzlc/upload": "2.*"
27-
},
28-
"scripts":{
29-
"auto-scripts": {
30-
"phpzlc:flex:install upload-business": "symfony-cmd"
31-
},
32-
"post-install-cmd": [
33-
"@auto-scripts"
34-
]
3527
}
3628
}

0 commit comments

Comments
 (0)