diff options
Diffstat (limited to 'packages/pkginfo.php')
-rw-r--r-- | packages/pkginfo.php | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php index 3b31a71..366d0eb 100644 --- a/packages/pkginfo.php +++ b/packages/pkginfo.php @@ -1,16 +1,6 @@ <?php - function throw_http_error($error_number, $error_message, $extra_message = "") { - header("Status: " . $error_number . " " . $error_message); - print "Error " . $error_number . ": " . $error_message . "\n"; - if ($extra_message != "") - print "<br>\n" . $extra_message; - die(); - }; - - function die_500($message) { - throw_http_error(500, "Internal Server Error", $message); - }; + include "lib/mysql.php"; $json_content = json_decode( file_get_contents( |