summaryrefslogtreecommitdiffstats
path: root/web/html/pkgsubmit.php
diff options
context:
space:
mode:
authorSimo Leone <simo@archlinux.org>2008-07-28 08:22:01 -0700
committerSimo Leone <simo@archlinux.org>2008-07-28 10:27:38 -0500
commitc85dfacc747387b9be6c53b4518ac680b505e0f7 (patch)
tree27ad685d04b5918a82130889fa1f494bda0b7efc /web/html/pkgsubmit.php
parent4372ddb91476523535441b257c286ef413aec66e (diff)
downloadaurweb-c85dfacc747387b9be6c53b4518ac680b505e0f7.tar.xz
Include File/Find.php PEAR module
Since this module requires root to install system-wide, and is somewhat rare, it's better to just include it in the AUR code itself. Signed-off-by: Simo Leone <simo@archlinux.org>
Diffstat (limited to 'web/html/pkgsubmit.php')
-rw-r--r--web/html/pkgsubmit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index 4d15ebe..abd6614 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -1,10 +1,10 @@
<?php
+set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
include("config.inc");
-set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
require('Archive/Tar.php');
-require('File/Find.php');
+require('Find.php');
include("aur.inc"); # access AUR common functions
include("submit_po.inc"); # use some form of this for i18n support