[2/2] confparser.inc.php: Add missing dollar

Message ID 20180512102818.20600-2-lfleischer@archlinux.org
State Accepted, archived
Headers show
Series [1/2] confparser.inc.php: Add missing semicolon | expand

Commit Message

Lukas Fleischer May 12, 2018, 10:28 a.m. UTC
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>
---
 web/lib/confparser.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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);