Commit 8d2dfcb2 authored by pjmattal's avatar pjmattal
Browse files

added a global config file for web app

made pkgsubmit reference the global config file
parent 34be5e29
......@@ -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
#
......
<?php
# Configuration of directories where things live
$UPLOAD_DIR = "/aur/temp/";
$INCOMING_DIR = "/aur/incoming/";
$URL_DIR = "/packages/";
?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment