mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
BUGFIX: backup/restore when using multisite
This commit is contained in:
parent
a784583004
commit
7e7ca43a19
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class Backup
|
|||
end
|
||||
|
||||
def self.base_directory
|
||||
@base_directory ||= File.join(Rails.root, "public", "backups", RailsMultisite::ConnectionManagement.current_db)
|
||||
File.join(Rails.root, "public", "backups", RailsMultisite::ConnectionManagement.current_db)
|
||||
end
|
||||
|
||||
def self.chunk_path(identifier, filename, chunk_number)
|
||||
|
|
Loading…
Reference in a new issue