From 2366385ae1f7e7ee621504fbab391434251fba92 Mon Sep 17 00:00:00 2001 From: gravel Date: Fri, 2 Jun 2023 10:40:51 +0000 Subject: [PATCH] Parse listing config as raw --- php/generate-listings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/generate-listings.php b/php/generate-listings.php index 4e7db82..b704a6e 100644 --- a/php/generate-listings.php +++ b/php/generate-listings.php @@ -43,7 +43,7 @@ */ function resolve_listings_config(): array { global $LISTINGS_INI, $ROOMS_FILE; - $listings_raw = parse_ini_file($LISTINGS_INI, process_sections: true); + $listings_raw = parse_ini_file($LISTINGS_INI, process_sections: true, scanner_mode: INI_SCANNER_RAW); $servers_raw = file_get_contents($ROOMS_FILE); $server_data = json_decode($servers_raw, true); $servers = CommunityServer::from_details_array($server_data);