From 562866d1c3b1822726a4e0edfbd2f8a6c45afb31 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 25 Mar 2017 19:46:12 -0400 Subject: [PATCH] oops --- Project-Unite/Controllers/AdminController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project-Unite/Controllers/AdminController.cs b/Project-Unite/Controllers/AdminController.cs index a487dd3..070214b 100644 --- a/Project-Unite/Controllers/AdminController.cs +++ b/Project-Unite/Controllers/AdminController.cs @@ -121,7 +121,7 @@ public ActionResult BackupDatabase() string backupUrl = backupDir.Remove(0, 1) + "/ShiftOS-" + DateTime.Now.ToString() + ".zip"; string backupname = backupServerDir + "\\ShiftOS-" + DateTime.Now.ToString() + ".zip"; - System.IO.Compression.ZipFile.CreateFromDirectory(Server.MapPath("~/Uploads", backupname)); + System.IO.Compression.ZipFile.CreateFromDirectory(Server.MapPath("~/Uploads"), backupname)); var backupData = new DatabaseBackup(); backupData.Id = Guid.NewGuid().ToString();