mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -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
|
end
|
||||||
|
|
||||||
def self.base_directory
|
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
|
end
|
||||||
|
|
||||||
def self.chunk_path(identifier, filename, chunk_number)
|
def self.chunk_path(identifier, filename, chunk_number)
|
||||||
|
|
Loading…
Reference in a new issue