summaryrefslogtreecommitdiffstats
path: root/web/lib/confparser.inc.php
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2018-05-12 12:25:21 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2018-05-12 12:37:16 +0200
commit5c48302aaf3e8ca9cde07fb59afdc426d83dff34 (patch)
tree55a88c0851447f530b612ea4a648f9a6a0422b7e /web/lib/confparser.inc.php
parentad9422ca19d29089ab934e079c65a4614ace26a1 (diff)
downloadaur-5c48302aaf3e8ca9cde07fb59afdc426d83dff34.tar.gz
aur-5c48302aaf3e8ca9cde07fb59afdc426d83dff34.tar.xz
confparser.inc.php: Add missing dollar sign
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@archlinux.org>
Diffstat (limited to 'web/lib/confparser.inc.php')
-rw-r--r--web/lib/confparser.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/confparser.inc.php b/web/lib/confparser.inc.php
index cb51e02a..1152e132 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);