Move redundant System::baseUrl() to DI::baseUrl() calls
This commit is contained in:
@@ -435,4 +435,12 @@ class BaseURL
|
||||
$redirectTo = $this->get($ssl) . '/' . ltrim($toUrl, '/');
|
||||
System::externalRedirect($redirectTo);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the base url as string
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return $this->get();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user