From b2d42e960b3b3a59aac0d102856f842d021fe59a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 6 Jul 2017 23:01:44 +0300 Subject: replace some usages of SELF_URL_PATH with get_self_url_prefix() --- classes/handler/public.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/handler/public.php') 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()); } } } -- cgit v1.2.3