作者 邓超

1

... ... @@ -375,7 +375,7 @@ class Body {
mkdir($data['path'],0775,true);
}
$data['signName'] = md5($content).($ext ? '.'.$ext : '');
$data['path'] = realpath($data['path'].'/'.$data['signName']);
$data['path'] = str_replace('//','/',$data['path'].'/'.$data['signName']);
// 保存文件
@file_put_contents($data['path'],$content);
}
... ...