Projekt

Allgemein

Profil

Aktionen

GX-Bug #63730

geschlossen

Moving the shop from a sub directory to another level should clear the public theme directory

Von Marvin Muxfeld vor mehr als 4 Jahren hinzugefügt. Vor fast 3 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Hoch
Zugewiesen an:
-
Kategorie:
Frontend
Zielversion:
% erledigt:

100%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
3.15.1.0 beta1
Release Notes Langtext:

Nachdem wechseln der Domain wird nun der Cache des Shops geleert.


Beschreibung

Requirements:

  • install the shop in a sub directory of the web-server
  • have a theme active
  • reinstall the shop on the root of the web-server or a different sub directory

A few assets (font-awesome for example) can't be loaded because the files in public/theme still expects the old relative paths.

Suggested solution:

When building the public/theme directory the shop should store the current value of the constant DIR_WS_CATALOG in a json file or the database. If the the stored value differs from the actual value the public/theme must be rebuild.


Aktionen

Auch abrufbar als: Atom PDF