1
0
Fork 0

bugfix url creation

Dieser Commit ist enthalten in:
o.pinke 2020-06-25 15:31:00 +02:00
Ursprung 5ea089c877
Commit 8d7ba936a1
3 geänderte Dateien mit 8 neuen und 6 gelöschten Zeilen

Datei anzeigen

@ -523,7 +523,10 @@ function mr_buildGeneratedCode($code) {
$code = str_replace('"front_content.php"', '"' . mr_buildNewUrl('front_content.php') . '"', $code);
$code = str_replace("'front_content.php'", "'" . mr_buildNewUrl('front_content.php') . "'", $code);
$code = preg_replace_callback("/([\"|\'|=])front_content\.php(.?|.+?)([\"|\'|>])/i", function($match) {
return $match[1] . mr_buildNewUrl('front_content.php' . $match[2]) . $match[3];
ModRewriteDebugger::add($match, 'mr_buildGeneratedCode() matches');
$sHref = $match[1] . mr_buildNewUrl('front_content.php' . $match[2]) . $match[3];
ModRewriteDebugger::add($sHref, 'mr_buildGeneratedCode() matches -> href');
return $sHref;
}, $code);
ModRewriteDebugger::add($code, 'mr_buildGeneratedCode() out');