From 9a4cabe89895fa2c28d66a11ca590f29ad1e8ef6 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 11 Jul 2011 17:32:52 +0200 Subject: [PATCH] Simplify single language version --- compile.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compile.php b/compile.php index ee97be3c..1293ef3d 100644 --- a/compile.php +++ b/compile.php @@ -51,14 +51,15 @@ function put_file($match) { if (basename($match[2]) != "lang.inc.php" || !$_SESSION["lang"]) { $tokens = token_get_all($return); // to find out the last token return "?>\n$return" . (in_array($tokens[count($tokens) - 1][0], array(T_CLOSE_TAG, T_INLINE_HTML), true) ? "