From 70adfd4a742775f492bbf09afad2eebb67d4a150 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 2 Mar 2021 08:16:41 +0300 Subject: * sanitize: never rewrite relative links to our own prefix * use Config::get_self_url() instead of get_self_url_prefix() in a bunch of places --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/functions.php b/include/functions.php index 4892d5320..ce6b48181 100644 --- a/include/functions.php +++ b/include/functions.php @@ -217,7 +217,7 @@ } // this returns Config::SELF_URL_PATH sans ending slash - /** function is @deprecated */ + /** function is @deprecated by Config::get_self_url() */ function get_self_url_prefix() { return Config::get_self_url(); } -- cgit v1.2.3