5 Apr
2014
5 Apr
'14
11:59 a.m.
This will be used to create links to package base pages later. For now, this just returns a link to the corresponding package page since a package base currently only consists of a single package having the same name as the base itself. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> --- web/lib/routing.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/lib/routing.inc.php b/web/lib/routing.inc.php index 206886c..b1e5be2 100644 --- a/web/lib/routing.inc.php +++ b/web/lib/routing.inc.php @@ -58,6 +58,10 @@ function get_pkg_uri($pkgname) { } } +function get_pkgbase_uri($pkgbase_name) { + return get_pkg_uri($pkgbase_name); +} + function get_user_route() { global $USER_PATH; return $USER_PATH; -- 1.9.1