Completed
Push — 1.11.x ( ca7787...41c0f2 )
by José
31:51
created

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
// HTTP404 page with neat styling
3
// 2011, Jean-Karim Bockstael <[email protected]>
4
// ErrorDocument 404 /404/
5
require_once '../main/inc/global.inc.php';
6
7
$msg = get_lang('FileNotFound');
8
Display::display_header($msg);
9
Display::display_error_message($msg);
0 ignored issues
show
Deprecated Code introduced by
The method Display::display_error_message() has been deprecated with message: use Display::addFlash with Display::return_message

This method has been deprecated. The supplier of the class has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.

Loading history...
10
Display::display_footer();
11
12