Project

General

Profile

Bug #19845 ยป v1_class.t3lib_install.php.diff

Administrator Admin, 2009-01-30 14:48

View differences:

class.t3lib_install.php Locally Modified (Based On LOCAL)
$tokenSet = ($this->localconf_editPointToken && !$inArray); // Flag is set if the token should be set but is not yet...
$stopAtToken = ($this->localconf_editPointToken && $inArray);
$comment = ' Modified or inserted by '.$this->updateIdentity.'.';
$replace = array('["', '"]');
$search = array('[\'', '\']');
$varDoubleQuotes = str_replace($search, $replace, $variable);
// Search for variable name:
if (!$this->localconf_addLinesOnly && !$tokenSet) {
......
$found = 1;
break;
}
} elseif (!strcmp(substr($v2, 0, strlen($varDoubleQuotes . ' ')), $varDoubleQuotes . ' ')) {
$mainparts = explode($varDoubleQuotes, $v, 2);
if (count($mainparts) == 2) { // should ALWAYS be....
$subparts = explode('//', $mainparts[1], 2);
$line_array[$k] = $mainparts[0] . $variable . " = '" . $this->slashValueForSingleDashes($value) . "'; " . ('//' . $comment . str_replace($comment, '', $subparts[1]));
$this->touchedLine = count($line_array) - $k - 1;
$found = 1;
break;
}
}
}
$line_array = array_reverse($line_array);
}
if (!$found) {
    (1-1/1)