Ein Vergleich von den 4.6.8.er external/frontend.php und dem alten 4.6.2 external/front_contend.php ergibt folgende Unterschiede.
Sollte ich die alten front_content.php in den einzelnen Mandantenverzeichnissen mit der neuen Version überschreiben?
Bei einem 4.4 => 4.6 upgrade war das wohl erforderlich, wenn ich mich richtig erinnere.
Knut
Unix-Kommando:
Code: Alles auswählen
diff front_content.468.php front_content.462.php
Code: Alles auswählen
20a21,23
> cInclude("includes", "functions.general.php");
>
> cInclude("includes", "functions.i18n.php");
25a29,30
> cInclude("classes", "class.user.php");
>
40c45
< i18nInit($cfg["path"]["contenido"].$cfg["path"]["locale"], $belang);
---
>
243,244d247
< {
< cInclude("includes", "functions.i18n.php");
246d248
< }
300,301d301
< {
< cInclude("includes", "functions.i18n.php");
303d302
< }
402,407c401
<
< $allow = true;
<
< $iterator = $_cecRegistry->getIterator("Contenido.Frontend.AllowEdit");
<
< while ($chainEntry = $iterator->next())
---
> if ($perm->have_perm_area_action_item("con_editcontent", "con_editart", $idcat) && $inUse == false)
409d402
< $value = $chainEntry->execute($lang, $idcat, $idart, $auth->auth["uid"]);
411,420d403
< if ($value === false)
< {
< $allow = false;
< break;
< }
< }
<
< if ($perm->have_perm_area_action_item("con_editcontent", "con_editart", $idcat) && $inUse == false && $allow == true)
< {
<
500c483
< if ($inUse == false && $allow == true && $view == "edit" && ($perm->have_perm_area_action_item("con_editcontent", "con_editart", $idcat)))
---
> if ($inUse == false && $view == "edit" && ($perm->have_perm_area_action_item("con_editcontent", "con_editart", $idcat)))
501a485
>
761,771c745,749
< $insert_base = getEffectiveSetting('generator', 'basehref', true);
<
< if ($insert_base == "true")
< {
< $is_XHTML = getEffectiveSetting('generator', 'xhtml', false);
< if ($is_XHTML == true) {
< $baseCode = '<base href="'.$cfgClient[$client]["path"]["htmlpath"].'" />';
< } else {
< $baseCode = '<base href="'.$cfgClient[$client]["path"]["htmlpath"].'">';
< }
< $code = str_ireplace_once("<head>", "<head>\n".$baseCode, $code);
---
> $is_XHTML = getEffectiveSetting('generator', 'xhtml', false);
> if ($is_XHTML == true) {
> $baseCode = '<base href="'.$cfgClient[$client]["path"]["htmlpath"].'" />';
> } else {
> $baseCode = '<base href="'.$cfgClient[$client]["path"]["htmlpath"].'">';
773c751
<
---
> $code = str_ireplace_once("<head>", "<head>\n".$baseCode, $code);
869d846
<