From 8d2dfcb24874cd9a8797d0648e1da74e063a03c1 Mon Sep 17 00:00:00 2001 From: pjmattal Date: Mon, 24 Jan 2005 04:15:23 +0000 Subject: added a global config file for web app made pkgsubmit reference the global config file --- web/html/pkgsubmit.php | 7 +------ web/lib/config.inc.proto | 6 ++++++ 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 web/lib/config.inc.proto 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 "
\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 # diff --git a/web/lib/config.inc.proto b/web/lib/config.inc.proto new file mode 100644 index 0000000..673a896 --- /dev/null +++ b/web/lib/config.inc.proto @@ -0,0 +1,6 @@ + -- cgit v1.2.3-70-g09d2