summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
authorelij <elij.mx@gmail.com>2011-05-29 23:33:37 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2011-06-22 15:15:04 +0200
commit888db089c515270fd5cd9a9bedd217110f43bc4c (patch)
treee31d78b517c5b849a91c56883dcff179fd3c3164 /web/lib
parent023d2a2521306be2c68f7cf1514bfc50bb250c04 (diff)
downloadaur-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/lib')
-rw-r--r--web/lib/acctfuncs.inc.php (renamed from web/lib/acctfuncs.inc)0
-rw-r--r--web/lib/aur.inc.php (renamed from web/lib/aur.inc)8
-rw-r--r--web/lib/aurjson.class.php2
-rw-r--r--web/lib/config.inc.php.proto (renamed from web/lib/config.inc.proto)0
-rw-r--r--web/lib/pkgfuncs.inc.php (renamed from web/lib/pkgfuncs.inc)2
-rw-r--r--web/lib/stats.inc.php (renamed from web/lib/stats.inc)2
-rw-r--r--web/lib/translator.inc.php (renamed from web/lib/translator.inc)2
-rw-r--r--web/lib/version.inc.php (renamed from web/lib/version.inc)0
8 files changed, 8 insertions, 8 deletions
diff --git a/web/lib/acctfuncs.inc b/web/lib/acctfuncs.inc.php
index b2f0548e..b2f0548e 100644
--- a/web/lib/acctfuncs.inc
+++ b/web/lib/acctfuncs.inc.php
diff --git a/web/lib/aur.inc b/web/lib/aur.inc.php
index 1f7b71ad..572d781a 100644
--- a/web/lib/aur.inc
+++ b/web/lib/aur.inc.php
@@ -7,12 +7,12 @@ header('Pragma: no-cache');
date_default_timezone_set('UTC');
-include_once('translator.inc');
+include_once('translator.inc.php');
set_lang();
-include_once("config.inc");
-include_once("version.inc");
-include_once("acctfuncs.inc");
+include_once("config.inc.php");
+include_once("version.inc.php");
+include_once("acctfuncs.inc.php");
# Check if APC extension is loaded, and set cache prefix if it is.
if (!defined('EXTENSION_LOADED_APC')) {
diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php
index 0f8e2fa5..5d15b890 100644
--- a/web/lib/aurjson.class.php
+++ b/web/lib/aurjson.class.php
@@ -4,7 +4,7 @@
*
* This file contains the AurRPC remote handling class
**/
-include_once("aur.inc");
+include_once("aur.inc.php");
/**
* This class defines a remote interface for fetching data
diff --git a/web/lib/config.inc.proto b/web/lib/config.inc.php.proto
index 43c64d22..43c64d22 100644
--- a/web/lib/config.inc.proto
+++ b/web/lib/config.inc.php.proto
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc.php
index 2024aeb3..7d46541b 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc.php
@@ -1,5 +1,5 @@
<?php
-include_once("config.inc");
+include_once("config.inc.php");
# Make sure this visitor can delete the requested package comment
# They can delete if they were the comment submitter, or if they are a TU/Dev
diff --git a/web/lib/stats.inc b/web/lib/stats.inc.php
index 67fbdca9..2690a5cb 100644
--- a/web/lib/stats.inc
+++ b/web/lib/stats.inc.php
@@ -1,6 +1,6 @@
<?php
-include_once('aur.inc');
+include_once('aur.inc.php');
function updates_table($dbh)
{
diff --git a/web/lib/translator.inc b/web/lib/translator.inc.php
index 903b061e..44c87bda 100644
--- a/web/lib/translator.inc
+++ b/web/lib/translator.inc.php
@@ -12,7 +12,7 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR
# print __("%s has %s apples.", "Bill", "5");
# print __("This is a %hmajor%h problem!", "<b>", "</b>");
-include_once('config.inc');
+include_once('config.inc.php');
include_once('gettext.php');
include_once('streams.php');
diff --git a/web/lib/version.inc b/web/lib/version.inc.php
index 04238d93..04238d93 100644
--- a/web/lib/version.inc
+++ b/web/lib/version.inc.php