fixes #16
* all PHP code is documented * admin/scripts/*php is added to apidoc and gettext generation in Makefile
This commit is contained in:
parent
f6be78bdcf
commit
379fffa19b
5 changed files with 56 additions and 8 deletions
|
@ -30,6 +30,12 @@
|
|||
/** Include common internationalization code. */
|
||||
require_once("i18n.inc.php");
|
||||
|
||||
/**
|
||||
* Create a server error with HTTP status code 500 and end script
|
||||
* execution.
|
||||
*
|
||||
* @param string $message error message
|
||||
*/
|
||||
function _server_error($message) {
|
||||
header('HTTP/1.0 500 Internal Server Error');
|
||||
header('Status: 500 Internal Server Error');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue