summaryrefslogtreecommitdiffstats
path: root/web/html/index.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-04-05 15:41:29 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-04-05 15:55:31 +0200
commit676595f9bf4ecb3de96d02c89440a6fdaf7fc797 (patch)
tree9da03d5c8c8c9cea1a2b89a6f4b9673a4011e7bc /web/html/index.php
parentd16f7cf712f0f2f14343ff55a625b12603f542a4 (diff)
downloadaurweb-676595f9bf4ecb3de96d02c89440a6fdaf7fc797.tar.xz
Prefix package functions with pkg_/pkgbase_
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html/index.php')
-rw-r--r--web/html/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/index.php b/web/html/index.php
index fe74857..921839a 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -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");