summaryrefslogtreecommitdiffstats
path: root/web/html/pkgsubmit.php
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2005-07-29 12:29:23 +0000
committerpjmattal <pjmattal>2005-07-29 12:29:23 +0000
commita8999a691777a96ea07f53a479a154b743712a46 (patch)
tree016d59470dae03d355a27c67fa7032e165e6137a /web/html/pkgsubmit.php
parent37cc16182a1bb0f3088c68dc47c7100b12fa3b19 (diff)
downloadaurweb-a8999a691777a96ea07f53a479a154b743712a46.tar.xz
added swiergot's checking patch as well as modifying it to also
list package name in green on the package list page (with legend)
Diffstat (limited to 'web/html/pkgsubmit.php')
-rw-r--r--web/html/pkgsubmit.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index e56335d..c71ad47 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -376,6 +376,7 @@ if ($_COOKIE["AURSID"]) {
$q.="Description='".mysql_escape_string($new_pkgbuild['pkgdesc'])."', ";
$q.="URL='".mysql_escape_string($new_pkgbuild['url'])."', ";
$q.="LocationID=2, ";
+ $q.="Safe=0, ";
$fspath=$INCOMING_DIR.$pkg_name."/".$_FILES["pfile"]["name"];
$q.="FSPath='".mysql_escape_string($fspath)."', ";
$urlpath=$URL_DIR.$pkg_name."/".$_FILES["pfile"]["name"];