-
Hi! I’m currently working on a site with some password-protected pages using For deployment, I wanted to keep copies of these files in the root directory, so I placed them in Tools/File Manager/root directory. However, I noticed that during FTP upload, only the Is this a limitation or a security setting in Publii? Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@gpsblues - Publii has no such limitations during upload - do you have anything suspicious in your deployment logs regarding this file? |
Beta Was this translation helpful? Give feedback.
@dziudek Same here.
Publii 0.46.2 (build 16966) ignores all files with a leading
.
, except.htaccess
. These files are added to theoutput
directory, but not tofiles.publii.json
.The offending line is:
Publii/app/back-end/modules/deploy/deployment.js
Line 557 in 443986c
file.indexOf('.') !== 0
checks whether the filename does not start with a dot. This excludes hidden files.