From: Roland Haeder Date: Tue, 11 May 2010 08:12:54 +0000 (+0000) Subject: Fix #3 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5c25a7053d43ce47422373865d7907b381d94cf5;p=ctracker.git Fix #3 --- 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) {