diff options
author | elij <elij.mx@gmail.com> | 2011-05-29 23:33:37 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-06-22 15:15:04 +0200 |
commit | 888db089c515270fd5cd9a9bedd217110f43bc4c (patch) | |
tree | e31d78b517c5b849a91c56883dcff179fd3c3164 /web/html | |
parent | 023d2a2521306be2c68f7cf1514bfc50bb250c04 (diff) | |
download | aur-888db089c515270fd5cd9a9bedd217110f43bc4c.tar.gz aur-888db089c515270fd5cd9a9bedd217110f43bc4c.tar.xz |
rename *.inc files to *.inc.php and adjust imports and references
Lukas: Add note to "UPGRADING".
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html')
-rw-r--r-- | web/html/account.php | 4 | ||||
-rw-r--r-- | web/html/addvote.php | 2 | ||||
-rw-r--r-- | web/html/index.php | 4 | ||||
-rw-r--r-- | web/html/logout.php | 4 | ||||
-rw-r--r-- | web/html/packages.php | 8 | ||||
-rw-r--r-- | web/html/passreset.php | 2 | ||||
-rw-r--r-- | web/html/pkgsubmit.php | 6 | ||||
-rw-r--r-- | web/html/rss.php | 2 | ||||
-rw-r--r-- | web/html/tu.php | 2 | ||||
-rw-r--r-- | web/html/voters.php | 4 |
10 files changed, 19 insertions, 19 deletions
diff --git a/web/html/account.php b/web/html/account.php index afb0d7cc..ca05d1ac 100644 --- a/web/html/account.php +++ b/web/html/account.php @@ -2,8 +2,8 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); -include_once('aur.inc'); # access AUR common functions -include_once('acctfuncs.inc'); # access Account specific functions +include_once('aur.inc.php'); # access AUR common functions +include_once('acctfuncs.inc.php'); # access Account specific functions set_lang(); # this sets up the visitor's language check_sid(); # see if they're still logged in diff --git a/web/html/addvote.php b/web/html/addvote.php index a4596105..fe3037d5 100644 --- a/web/html/addvote.php +++ b/web/html/addvote.php @@ -2,7 +2,7 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); -include_once("aur.inc"); +include_once("aur.inc.php"); set_lang(); check_sid(); html_header(); diff --git a/web/html/index.php b/web/html/index.php index 33c39eb7..ffc5f008 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -2,11 +2,11 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); -include_once("aur.inc"); +include_once("aur.inc.php"); set_lang(); check_sid(); -include_once('stats.inc'); +include_once('stats.inc.php'); html_header( __("Home") ); diff --git a/web/html/logout.php b/web/html/logout.php index 95cf4600..dee6456a 100644 --- a/web/html/logout.php +++ b/web/html/logout.php @@ -2,8 +2,8 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); -include_once("aur.inc"); # access AUR common functions -include_once("acctfuncs.inc"); # access AUR common functions +include_once("aur.inc.php"); # access AUR common functions +include_once("acctfuncs.inc.php"); # access AUR common functions # if they've got a cookie, log them out - need to do this before diff --git a/web/html/packages.php b/web/html/packages.php index abc66377..4a1fa881 100644 --- a/web/html/packages.php +++ b/web/html/packages.php @@ -2,10 +2,10 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); -include_once("aur.inc"); # access AUR common functions -set_lang(); # this sets up the visitor's language -include_once('pkgfuncs.inc'); # package specific functions -check_sid(); # see if they're still logged in +include_once("aur.inc.php"); # access AUR common functions +set_lang(); # this sets up the visitor's language +include_once('pkgfuncs.inc.php'); # package specific functions +check_sid(); # see if they're still logged in # Set the title to the current query if required if (isset($_GET['ID']) && ($pkgname = pkgname_from_id($_GET['ID']))) { diff --git a/web/html/passreset.php b/web/html/passreset.php index 0ce6f7da..ed5d4d31 100644 --- a/web/html/passreset.php +++ b/web/html/passreset.php @@ -2,7 +2,7 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); -include_once("aur.inc"); # access AUR common functions +include_once("aur.inc.php"); # access AUR common functions set_lang(); # this sets up the visitor's language check_sid(); # see if they're still logged in diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php index 26608ead..b5fe3b7e 100644 --- a/web/html/pkgsubmit.php +++ b/web/html/pkgsubmit.php @@ -1,12 +1,12 @@ <?php set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); -include_once("config.inc"); +include_once("config.inc.php"); require_once('Archive/Tar.php'); -include_once("aur.inc"); # access AUR common functions -include_once("pkgfuncs.inc"); # package functions +include_once("aur.inc.php"); # access AUR common functions +include_once("pkgfuncs.inc.php"); # package functions set_lang(); # this sets up the visitor's language check_sid(); # see if they're still logged in diff --git a/web/html/rss.php b/web/html/rss.php index 1f808b62..c7de4c65 100644 --- a/web/html/rss.php +++ b/web/html/rss.php @@ -1,7 +1,7 @@ <?php set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang'); -include_once("aur.inc"); +include_once("aur.inc.php"); include_once("feedcreator.class.php"); #detect prefix diff --git a/web/html/tu.php b/web/html/tu.php index 6ab8ae9e..6e202c80 100644 --- a/web/html/tu.php +++ b/web/html/tu.php @@ -2,7 +2,7 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); -include_once("aur.inc"); +include_once("aur.inc.php"); set_lang(); check_sid(); html_header(); diff --git a/web/html/voters.php b/web/html/voters.php index 6a168182..aa2aa50c 100644 --- a/web/html/voters.php +++ b/web/html/voters.php @@ -1,7 +1,7 @@ <?php set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); -include('aur.inc'); -include('pkgfuncs.inc'); +include('aur.inc.php'); +include('pkgfuncs.inc.php'); function getvotes($pkgid) { $dbh = db_connect(); |