Index: t3lib/class.t3lib_install.php =================================================================== --- t3lib/class.t3lib_install.php (Revision 6726) +++ t3lib/class.t3lib_install.php (Arbeitskopie) @@ -142,6 +142,7 @@ $comment = ' Modified or inserted by '.$this->updateIdentity.'.'; $replace = array('["', '"]'); $search = array('[\'', '\']'); + $commentBlock = false; $varDoubleQuotes = str_replace($search, $replace, $variable); // Search for variable name: @@ -149,6 +150,21 @@ $line_array = array_reverse($line_array); foreach($line_array as $k => $v) { $v2 = trim($v); + if (strstr($v2, '/*') && strstr($v2, '*/')) { + continue; + } + if (strstr($v2, '*/')) { + $commentBlock = true; + continue; + } + if (strstr($v2, '/*')) { + $commentBlock = false; + continue; + } + if ($commentBlock === true || substr($v2, 0, 1) === '#') { + continue; + } + if ($stopAtToken && !strcmp($v2,$commentKey.$this->localconf_editPointToken)) break; // If stopAtToken and token found, break out of the loop.. if (!strcmp(substr($v2,0,strlen($variable.' ')),$variable.' ')) { $mainparts = explode($variable,$v,2);