Projekt

Allgemein

Profil

GX-Bug #68012

Von Moritz Bunjes vor mehr als 3 Jahren aktualisiert

Die includes/configure.php und admin/includes/configure.php enthalten aktuell eine Einbindung einer weiteren Datei mittels absoluten Dateipfads. Damit funktioniert der Shop nur noch, wenn sich der Serverpfad nicht ändert. Damit ist der Shop nicht mehr lauffähig, wenn der Hoster, der Kunde oder wir den Shop umziehen. Die Konfigurationsdatei sollte daher keine externen Dateien einbinden und ohne absolute Serverpfade auskommen. Die Änderung sollte für Neuinstallation gelten. 

 -- 

 The includes/configure.php and admin/includes/configure.php currently contain an inclusion of an additional file using absolute file paths. So the store only works if the server path does not change. This means that the store is no longer executable if the hoster, the customer or we move the store. The configuration file should therefore not include any external files and get along without absolute server paths. The change should apply to new installations. 

 For testing: Moving and running the shop to another folder on the server should be possible without any changes in the configure.php. The cache folder has to be cleared manually before. 

 MR https://sources.gambio-server.net/gambio/gxdev/-/merge_requests/836

Zurück