mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
aur.inc.php: Include routing backend
This needs to be available on every page since it is needed for get_uri() and get_pkg_uri() and "web/html/index.php" isn't executed if the virtual path feature is disabled. Reported-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
af95c2b1fe
commit
6790b36247
2 changed files with 1 additions and 2 deletions
|
@ -1,8 +1,6 @@
|
|||
<?php
|
||||
set_include_path(get_include_path() . PATH_SEPARATOR . '../lib');
|
||||
|
||||
include_once("config.inc.php");
|
||||
include_once("routing.inc.php");
|
||||
include_once("aur.inc.php");
|
||||
include_once("pkgfuncs.inc.php");
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@ include_once('translator.inc.php');
|
|||
set_lang();
|
||||
|
||||
include_once("config.inc.php");
|
||||
include_once("routing.inc.php");
|
||||
include_once("version.inc.php");
|
||||
include_once("acctfuncs.inc.php");
|
||||
include_once("cachefuncs.inc.php");
|
||||
|
|
Loading…
Add table
Reference in a new issue