From 5b9f0186a84fcca5ff3e77c8ab8e42c59bd65824 Mon Sep 17 00:00:00 2001 From: Frank Shrestha Date: Mon, 3 Nov 2025 13:48:51 +0545 Subject: [PATCH] Compile: fix single language version on Windows --- compile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.php b/compile.php index 663e21ea..d9ed1987 100755 --- a/compile.php +++ b/compile.php @@ -98,7 +98,7 @@ function put_file($match) { echo "lang() not found\n"; } } else { - $return = preg_replace('~// not used in a single language version from here\n.*~s', '', $return); + $return = preg_replace('~// not used in a single language version from here.*~s', '', $return); $return = preg_replace_callback('~(\$pos = (.+\n).+;)~sU', function ($match) { return "\$pos = $match[2]\t\t\t: " . (preg_match("~'$_SESSION[lang]'.* \\? (.+)\n~U", $match[1], $match2) ? $match2[1] : "1") . "\n\t\t);"; }, $return);