mirror of
https://github.com/friendica/friendica
synced 2024-11-13 17:42:53 +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.'));
|
||
|
}
|
||
|
}
|