summaryrefslogtreecommitdiff
path: root/web/html/pkgsubmit.php
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2005-01-24 04:15:23 +0000
committerpjmattal <pjmattal>2005-01-24 04:15:23 +0000
commit8d2dfcb24874cd9a8797d0648e1da74e063a03c1 (patch)
treecec1738ae035baa9795a90606dad9b8eb1fc10f1 /web/html/pkgsubmit.php
parent34be5e29bef7a8b8fa69ab41ef9dad6a7059be81 (diff)
added a global config file for web app
made pkgsubmit reference the global config file
Diffstat (limited to 'web/html/pkgsubmit.php')
-rw-r--r--web/html/pkgsubmit.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index ce7df10..80396cf 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -2,6 +2,7 @@
include("aur.inc"); # access AUR common functions
include("submit_po.inc"); # use some form of this for i18n support
include("pkgfuncs.inc"); # package functions
+include("config.inc"); # configuration file with dir locations
set_lang(); # this sets up the visitor's language
check_sid(); # see if they're still logged in
html_header(); # print out the HTML header
@@ -10,12 +11,6 @@ print "<center>\n";
# Debugging
$DBUG = 0;
-# this is the directory that new packages will be uploaded to
-#
-$UPLOAD_DIR = "/aur/temp/";
-$INCOMING_DIR = "/aur/incoming/";
-$URL_DIR = "/packages/";
-
if ($_COOKIE["AURSID"]) {
# track upload errors
#