aboutsummaryrefslogtreecommitdiff
path: root/www/delete.php
diff options
context:
space:
mode:
authorColin Guthrie <colin.guthrie@tribalogic.net>2013-04-19 13:28:19 +0100
committerColin Guthrie <colin.guthrie@tribalogic.net>2013-04-21 19:57:43 +0100
commit20ca4e9e509a111f8de0069feeac54e3b31098ee (patch)
treecd1a27410c2fc470d270cf79cab021781d1931aa /www/delete.php
parentba158e3ed03dec10e6654b0b0dd3710504bdf04d (diff)
downloadphorkie-20ca4e9e509a111f8de0069feeac54e3b31098ee.tar.gz
phorkie-20ca4e9e509a111f8de0069feeac54e3b31098ee.zip
Allow usage in a subdir of a host.
Diffstat (limited to 'www/delete.php')
-rw-r--r--www/delete.php2
1 files changed, 1 insertions, 1 deletions
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(