fix private backup path in patch
This commit is contained in:
parent
8c0e8fc696
commit
4370aede98
1 changed files with 1 additions and 1 deletions
|
|
@ -7,5 +7,5 @@ from frappe.installer import make_site_dirs
|
|||
|
||||
def execute():
|
||||
make_site_dirs()
|
||||
if frappe.local.conf.backup and frappe.local.conf.backup.startswith("public"):
|
||||
if frappe.local.conf.backup_path and frappe.local.conf.backup_path.startswith("public"):
|
||||
raise Exception, "Backups path in conf set to public directory"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue