Rev3122, Auto ignore database file
This commit is contained in:
parent
c519239d87
commit
9d511ba165
3 changed files with 10 additions and 1 deletions
|
@ -524,6 +524,8 @@ class ContentManager(object):
|
|||
elif not self.isValidRelativePath(file_relative_path):
|
||||
ignored = True
|
||||
self.log.error("- [ERROR] Invalid filename: %s" % file_relative_path)
|
||||
elif dir_inner_path == "" and file_relative_path == self.site.storage.getDbFile():
|
||||
ignored = True
|
||||
elif optional_pattern and SafeRe.match(optional_pattern, file_relative_path):
|
||||
optional = True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue