mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Removed QBUG and DBUG
It was broken and hardly used. It's just as easy to add short print statements or logging if some debugging output is needed. Signed-off-by: Simo Leone <simo@archlinux.org>
This commit is contained in:
parent
2bcd8ff1db
commit
7bad8a8357
5 changed files with 0 additions and 50 deletions
|
@ -13,20 +13,10 @@ echo "<div class=\"pgbox\">\n";
|
|||
echo " <div class=\"pgboxtitle\"><span class=\"f3\">".__("Submit")."</span></div>\n";
|
||||
echo " <div class=\"pgboxbody\">\n";
|
||||
|
||||
# Debugging
|
||||
$DBUG = 0;
|
||||
|
||||
if ($_COOKIE["AURSID"]) {
|
||||
# track upload errors
|
||||
#
|
||||
$error = "";
|
||||
if ($DBUG) {
|
||||
print "</center><pre>\n";
|
||||
print_r($_REQUEST);
|
||||
print "<br>";
|
||||
print_r($_FILES);
|
||||
print "</pre><center>\n";
|
||||
}
|
||||
|
||||
if ($_REQUEST["pkgsubmit"]) {
|
||||
#Before processing, make sure we even have a file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue