mirror of
https://github.com/slawkens/myaac.git
synced 2025-06-25 22:30:15 +02:00
Remove error number from 404 & 405 pages
This commit is contained in:
parent
d90fa323d7
commit
f78ebad136
@ -8,7 +8,7 @@
|
|||||||
* @link https://my-aac.org
|
* @link https://my-aac.org
|
||||||
*/
|
*/
|
||||||
defined('MYAAC') or die('Direct access not allowed!');
|
defined('MYAAC') or die('Direct access not allowed!');
|
||||||
$title = '404 Not Found';
|
$title = 'Not Found';
|
||||||
|
|
||||||
header('HTTP/1.0 404 Not Found');
|
header('HTTP/1.0 404 Not Found');
|
||||||
?>
|
?>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* @link https://my-aac.org
|
* @link https://my-aac.org
|
||||||
*/
|
*/
|
||||||
defined('MYAAC') or die('Direct access not allowed!');
|
defined('MYAAC') or die('Direct access not allowed!');
|
||||||
$title = '405 Method Not Allowed';
|
$title = 'Method Not Allowed';
|
||||||
|
|
||||||
header('HTTP/1.0 405 Method Not Allowed');
|
header('HTTP/1.0 405 Method Not Allowed');
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user