From 20ca4e9e509a111f8de0069feeac54e3b31098ee Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Fri, 19 Apr 2013 13:28:19 +0100 Subject: Allow usage in a subdir of a host. --- www/delete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/delete.php') diff --git a/www/delete.php b/www/delete.php index 43ec9d5..e0e8d9f 100644 --- a/www/delete.php +++ b/www/delete.php @@ -14,7 +14,7 @@ if (isset($_GET['confirm']) && $_GET['confirm'] == 1) { throw new Exception_Input('Deleting only possible via POST'); } $repo->delete(); - redirect('/'); + redirect(Tools::fullUrl()); } render( -- cgit v1.2.3