[PATCH 2/2] confparser.inc.php: Add missing dollar
Lukas Fleischer
lfleischer at archlinux.org
Sat May 12 10:28:18 UTC 2018
Fixes a regression introduced in 97c5bce (config: allow reading both the
defaults file and the modified config, 2018-04-15).
Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
---
web/lib/confparser.inc.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/lib/confparser.inc.php b/web/lib/confparser.inc.php
index cb51e02..1152e13 100644
--- a/web/lib/confparser.inc.php
+++ b/web/lib/confparser.inc.php
@@ -10,7 +10,7 @@ function config_load() {
}
$defaults_path = getenv('AUR_CONFIG_DEFAULTS');
if (!$defaults_path) {
- $defaults_path = path . ".defaults";
+ $defaults_path = $path . ".defaults";
}
if (file_exists($defaults_path)) {
$default_config = parse_ini_file($defaults_path, true, INI_SCANNER_RAW);
--
2.17.0
More information about the aur-dev
mailing list