summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
Diffstat (limited to 'web/html')
-rw-r--r--web/html/account.php3
-rw-r--r--web/html/hacker.php3
-rw-r--r--web/html/index.php3
-rw-r--r--web/html/logout.php3
-rw-r--r--web/html/packages.php3
-rw-r--r--web/html/pkgedit.php3
-rw-r--r--web/html/pkgsubmit.php3
-rw-r--r--web/html/rss2.php3
-rw-r--r--web/html/template.php3
-rw-r--r--web/html/testpo.php3
-rw-r--r--web/html/timeout.php3
11 files changed, 33 insertions, 0 deletions
diff --git a/web/html/account.php b/web/html/account.php
index 40a17593..eeb1e407 100644
--- a/web/html/account.php
+++ b/web/html/account.php
@@ -1,4 +1,7 @@
<?
+
+set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
+
include("aur.inc"); # access AUR common functions
include("acctfuncs.inc"); # access Account specific functions
include("pkgfuncs_po.inc"); # Add to handle the i18n of My Packages
diff --git a/web/html/hacker.php b/web/html/hacker.php
index 894cc28e..90064133 100644
--- a/web/html/hacker.php
+++ b/web/html/hacker.php
@@ -1,4 +1,7 @@
<?
+
+set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
+
include("hacker_po.inc");
include("aur.inc");
set_lang();
diff --git a/web/html/index.php b/web/html/index.php
index 62528143..82d1baa8 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -1,4 +1,7 @@
<?
+
+set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
+
include("index_po.inc");
include("pkgfuncs_po.inc"); # Add to handle the i18n of My Packages
include("aur.inc");
diff --git a/web/html/logout.php b/web/html/logout.php
index c34cd1c6..dac7831b 100644
--- a/web/html/logout.php
+++ b/web/html/logout.php
@@ -1,4 +1,7 @@
<?
+
+set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
+
include("aur.inc"); # access AUR common functions
include("pkgfuncs_po.inc"); # Add to handle the i18n of My Packages
include("logout_po.inc"); # use some form of this for i18n support
diff --git a/web/html/packages.php b/web/html/packages.php
index c02347f5..df8dbad9 100644
--- a/web/html/packages.php
+++ b/web/html/packages.php
@@ -1,4 +1,7 @@
<?
+
+set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
+
include("aur.inc"); # access AUR common functions
include("pkgfuncs.inc"); # package specific functions
include("search_po.inc"); # use some form of this for i18n support
diff --git a/web/html/pkgedit.php b/web/html/pkgedit.php
index e5265e0f..bb19144e 100644
--- a/web/html/pkgedit.php
+++ b/web/html/pkgedit.php
@@ -1,4 +1,7 @@
<?
+
+set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
+
include("aur.inc"); # access AUR common functions
include("pkgfuncs.inc"); # use some form of this for i18n support
include("pkgedit_po.inc"); # i18n translations for this script
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index 6bcaf113..6bec9f64 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -1,4 +1,7 @@
<?
+
+set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
+
include("aur.inc"); # access AUR common functions
include("submit_po.inc"); # use some form of this for i18n support
include("pkgfuncs.inc"); # package functions
diff --git a/web/html/rss2.php b/web/html/rss2.php
index 2ec05b07..bba030a9 100644
--- a/web/html/rss2.php
+++ b/web/html/rss2.php
@@ -1,4 +1,7 @@
<?
+
+set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
+
include("aur.inc");
include("feedcreator.class.php");
diff --git a/web/html/template.php b/web/html/template.php
index 291041cd..1f816812 100644
--- a/web/html/template.php
+++ b/web/html/template.php
@@ -1,4 +1,7 @@
<?
+
+set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
+
include("aur.inc"); # access AUR common functions
include("template_po.inc"); # use some form of this for i18n support
set_lang(); # this sets up the visitor's language
diff --git a/web/html/testpo.php b/web/html/testpo.php
index c65a51e3..b440d157 100644
--- a/web/html/testpo.php
+++ b/web/html/testpo.php
@@ -1,4 +1,7 @@
<?
+
+set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
+
# This is a sample script to demonstrate how the AUR will
# handle i18n. Note: When the PHP script is finished, and
# has the proper include file (see below), and the __()
diff --git a/web/html/timeout.php b/web/html/timeout.php
index a529e375..1c14e652 100644
--- a/web/html/timeout.php
+++ b/web/html/timeout.php
@@ -1,4 +1,7 @@
<?
+
+set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
+
include("timeout_po.inc");
include("aur.inc");
set_lang();