Commit 1af37582 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Use raw scanner mode in config_get()

We do not want PHP to parse the values for us. Use raw scanner mode to
avoid issues with certain values, such as regular expressions.

Signed-off-by: default avatarLukas Fleischer <>
parent f55e3c21
......@@ -4,7 +4,7 @@ function config_get($section, $key) {
global $AUR_CONFIG;
if (!isset($AUR_CONFIG)) {
$AUR_CONFIG = parse_ini_file("../../conf/config", true);
$AUR_CONFIG = parse_ini_file("../../conf/config", true, INI_SCANNER_RAW);
return $AUR_CONFIG[$section][$key];
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment