mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
023d2a2521
commit
888db089c5
24 changed files with 37 additions and 34 deletions
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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") );
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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']))) {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue