mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Prefix package functions with pkg_/pkgbase_
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
d16f7cf712
commit
676595f9bf
12 changed files with 91 additions and 91 deletions
|
@ -13,7 +13,7 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
|
|||
* the routing framework to the individual pages instead of
|
||||
* initializing arbitrary variables here. */
|
||||
$pkgname = $tokens[2];
|
||||
$pkgid = pkgid_from_name($pkgname);
|
||||
$pkgid = pkg_from_name($pkgname);
|
||||
|
||||
if (!$pkgid) {
|
||||
header("HTTP/1.0 404 Not Found");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue