canonical URL이 출력되지 않는 문제 수정

This commit is contained in:
conory 2018-03-12 21:50:52 +09:00
parent cbd66462c7
commit 4520a6a2a4
2 changed files with 11 additions and 1 deletions

View file

@ -2721,6 +2721,16 @@ class Context
{
self::$_instance->canonical_url = escape($url, false);
}
/**
* Get canonical URL
*
* @return string
*/
public static function getCanonicalURL()
{
return self::$_instance->canonical_url;
}
}
/* End of file Context.class.php */
/* Location: ./classes/context/Context.class.php */