mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-05 17:30:38 +00:00
后台上传检验文件问题
This commit is contained in:
parent
8588d1787b
commit
6d80ec7b16
@ -289,7 +289,7 @@ class SystemConfig extends AuthController
|
||||
}
|
||||
if (isset($post['weixin_ckeck_file'])) {
|
||||
$from = public_path() . $post['weixin_ckeck_file'];
|
||||
$to = public_path() . explode('/', $post['weixin_ckeck_file'])[2];
|
||||
$to = public_path() . array_reverse(explode('/', $post['weixin_ckeck_file']))[0];
|
||||
@copy($from, $to);
|
||||
}
|
||||
if (isset($post['admin_port'])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user