From dd9a52146ecc56cee2e7e86dab2056864b3faa78 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 11 May 2010 08:12:54 +0000 Subject: [PATCH] Fix #3 --- libs/lib_general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/lib_general.php b/libs/lib_general.php index 18f872f..da29d84 100644 --- a/libs/lib_general.php +++ b/libs/lib_general.php @@ -331,7 +331,7 @@ function crackerTrackerOutputLocalized ($message) { // Compiles the given code function crackerTrackerCompileCode ($code) { // Find all $content[foo] - preg_match_all('/\$content((\[([a-zA-Z0-9-_]+)\])*)/', $code, $matches); + preg_match_all('/\$(content|GLOBALS)((\[([a-zA-Z0-9-_]+)\])*)/', $code, $matches); // Replace all foreach ($matches[0] as $key=>$match) { -- 2.39.2