mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Create specific module to display HTML message when a conversation isn't found in Module\Item\Display
This commit is contained in:
parent
544348c25a
commit
4e355c0f5e
4 changed files with 58 additions and 9 deletions
|
@ -341,7 +341,7 @@ class BaseURL
|
|||
public function redirect(string $toUrl = '', bool $ssl = false)
|
||||
{
|
||||
if (!empty(parse_url($toUrl, PHP_URL_SCHEME))) {
|
||||
throw new HTTPException\InternalServerErrorException("'$toUrl is not a relative path, please use System::externalRedirectTo");
|
||||
throw new HTTPException\InternalServerErrorException("$toUrl is not a relative path, please use System::externalRedirectTo");
|
||||
}
|
||||
|
||||
$redirectTo = $this->get($ssl) . '/' . ltrim($toUrl, '/');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue