rename *.inc files to *.inc.php and adjust imports and references

Lukas: Add note to "UPGRADING".

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
elij 2011-05-29 14:33:37 -07:00 committed by Lukas Fleischer
parent 023d2a2521
commit 888db089c5
24 changed files with 37 additions and 34 deletions

View file

@ -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

View file

@ -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();

View file

@ -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") );

View file

@ -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

View file

@ -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']))) {

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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();

View file

@ -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();