App::get_baseurl is now replaced with System::baseUrl
This commit is contained in:
@@ -35,7 +35,7 @@ function p_init($a){
|
||||
$parts = parse_url($r[0]["author-link"]);
|
||||
$host = $parts["scheme"]."://".$parts["host"];
|
||||
|
||||
if (normalise_link($host) != normalise_link(App::get_baseurl())) {
|
||||
if (normalise_link($host) != normalise_link(System::baseUrl())) {
|
||||
$location = $host."/p/".urlencode($guid).".xml";
|
||||
|
||||
header("HTTP/1.1 301 Moved Permanently");
|
||||
|
||||
Reference in New Issue
Block a user