mirror of
https://github.com/friendica/friendica
synced 2024-12-26 01:20:15 +00:00
16 lines
280 B
PHP
16 lines
280 B
PHP
|
<?php
|
||
|
|
||
|
namespace Friendica\Module;
|
||
|
|
||
|
use Friendica\BaseModule;
|
||
|
use Friendica\Core\L10n;
|
||
|
use Friendica\Network\HTTPException;
|
||
|
|
||
|
class PageNotFound extends BaseModule
|
||
|
{
|
||
|
public static function content()
|
||
|
{
|
||
|
throw new HTTPException\NotFoundException(L10n::t('Page not found.'));
|
||
|
}
|
||
|
}
|