summaryrefslogtreecommitdiff
path: root/classes/handler/public.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-07-06 23:01:44 +0300
committerAndrew Dolgov <[email protected]>2017-07-06 23:01:44 +0300
commitb2d42e960b3b3a59aac0d102856f842d021fe59a (patch)
tree334fe5220564d0c1c6ef13ce65295b9c6acd6376 /classes/handler/public.php
parent948471a44bd59fb31d9abdd2931a9eda0b5b6931 (diff)
replace some usages of SELF_URL_PATH with get_self_url_prefix()
Diffstat (limited to 'classes/handler/public.php')
-rw-r--r--classes/handler/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index 403e20ca5..7282adfd2 100644
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -541,7 +541,7 @@ class Handler_Public extends Handler {
if ($_REQUEST['return']) {
header("Location: " . $_REQUEST['return']);
} else {
- header("Location: " . SELF_URL_PATH);
+ header("Location: " . get_self_url_prefix());
}
}
}