When restoring the site zip, if it contains a single directory, we assume that directory includes the DNN site. Otherwise, we assume that the contents of the zip are the site contents. In cases where there are development files (e.g. .git, .gitignore, package.json, etc.), it would be great if we can handle this scenario, and fail fast if we can't handle it.
When restoring the site zip, if it contains a single directory, we assume that directory includes the DNN site. Otherwise, we assume that the contents of the zip are the site contents. In cases where there are development files (e.g.
.git
,.gitignore
,package.json
, etc.), it would be great if we can handle this scenario, and fail fast if we can't handle it.