|
Last change
on this file was 8, checked in by chronos, 2 years ago |
- Modified: Updated Common package.
- Modified: Form types made as separate FormManager package.
- Fixed: PHP 8.1 support.
|
|
File size:
348 bytes
|
| Line | |
|---|
| 1 | <?php
|
|---|
| 2 |
|
|---|
| 3 | class PageMissing extends Page
|
|---|
| 4 | {
|
|---|
| 5 | function __construct($System)
|
|---|
| 6 | {
|
|---|
| 7 | parent::__construct($System);
|
|---|
| 8 | $this->ParentClass = '';
|
|---|
| 9 | $this->Title = T('Page not found');
|
|---|
| 10 | }
|
|---|
| 11 |
|
|---|
| 12 | function Show(): string
|
|---|
| 13 | {
|
|---|
| 14 | Header($_SERVER['SERVER_PROTOCOL'].' 404 Not Found');
|
|---|
| 15 | return '<h3 align="center">'.T('Required page not found').'</h3>';
|
|---|
| 16 | }
|
|---|
| 17 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.