一旦接受上传文件之后,应用程序将重命名它并保存到指定的目录 $WASP_ROOT/pub/usr/。
Once an uploaded file is accepted, your application renames and saves it to the designated directory $WASP_ROOT/pub/usr/.
上传修改过的wp - config . php文件到WordPress根目录。
Upload the modified wp-config.php file into the WordPress root directory.
为此,需要添加代码来处理上传,解析文件名,以及创建与上述模式相匹配的目录路径。
To do so, you need to add code to handle the upload, parse the file name, and create the directory paths to match the scheme above.
应用推荐