diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/html/account.php | 3 | ||||
-rw-r--r-- | web/html/hacker.php | 3 | ||||
-rw-r--r-- | web/html/index.php | 3 | ||||
-rw-r--r-- | web/html/logout.php | 3 | ||||
-rw-r--r-- | web/html/packages.php | 3 | ||||
-rw-r--r-- | web/html/pkgedit.php | 3 | ||||
-rw-r--r-- | web/html/pkgsubmit.php | 3 | ||||
-rw-r--r-- | web/html/rss2.php | 3 | ||||
-rw-r--r-- | web/html/template.php | 3 | ||||
-rw-r--r-- | web/html/testpo.php | 3 | ||||
-rw-r--r-- | web/html/timeout.php | 3 |
11 files changed, 33 insertions, 0 deletions
diff --git a/web/html/account.php b/web/html/account.php index 40a1759..eeb1e40 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 894cc28..9006413 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 6252814..82d1baa 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 c34cd1c..dac7831 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 c02347f..df8dbad 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 e5265e0..bb19144 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 6bcaf11..6bec9f6 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 2ec05b0..bba030a 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 291041c..1f81681 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 c65a51e..b440d15 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 a529e37..1c14e65 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(); |