summaryrefslogtreecommitdiff
path: root/web/html
diff options
context:
space:
mode:
authorelij <elij.mx@gmail.com>2011-05-29 14:33:37 -0700
committerLukas Fleischer <archlinux@cryptocrack.de>2011-06-22 15:15:04 +0200
commit888db089c515270fd5cd9a9bedd217110f43bc4c (patch)
treee31d78b517c5b849a91c56883dcff179fd3c3164 /web/html
parent023d2a2521306be2c68f7cf1514bfc50bb250c04 (diff)
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.php4
-rw-r--r--web/html/addvote.php2
-rw-r--r--web/html/index.php4
-rw-r--r--web/html/logout.php4
-rw-r--r--web/html/packages.php8
-rw-r--r--web/html/passreset.php2
-rw-r--r--web/html/pkgsubmit.php6
-rw-r--r--web/html/rss.php2
-rw-r--r--web/html/tu.php2
-rw-r--r--web/html/voters.php4
10 files changed, 19 insertions, 19 deletions
diff --git a/web/html/account.php b/web/html/account.php
index afb0d7c..ca05d1a 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 a459610..fe3037d 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 33c39eb..ffc5f00 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 95cf460..dee6456 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 abc6637..4a1fa88 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 0ce6f7d..ed5d4d3 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 26608ea..b5fe3b7 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 1f808b6..c7de4c6 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 6ab8ae9..6e202c8 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 6a16818..aa2aa50 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();