#163 closed Erweiterung (fixed)
Include_once für Klassen und Sprachdateien auch in shipping- und order_total-Klasse
| Reported by: | Owned by: | somebody | |
|---|---|---|---|
| Priority: | normal | Milestone: | modified-shop-2.0.0.0 |
| Component: | Shop | Version: | 1.06 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
In /includes/calsses/payment.php wurden in einer der letzten Versionen ja schon diese Zwei Zeilen von include auf include_once geändert:
include_once(DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/payment/' . $include_modules[$i]['file']);include_once(DIR_WS_MODULES . 'payment/' . $include_modules[$i]['file']);
Könntet ihr das bitte auch in der shipping und order_total-Klasse machen, falls nicht schon geschehen?
Also in /includes/classes/shipping.php:
include(DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/shipping/' . $include_modules[$i]['file']);include(DIR_WS_MODULES . 'shipping/' . $include_modules[$i]['file']);
Und /includes/classes/order_total.php:
include_once (DIR_WS_LANGUAGES.$_SESSION['language'].'/modules/order_total/'.$value);include_once (DIR_WS_MODULES.'order_total/'.$value);
Der Grund: Wenn man mal für ein Modul z.B. die Versandmodule neu berechnen will, gibt es fatal errors wegen der bereits existierenden Klassen...
Attachments (0)
Change History (2)
comment:1 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 4 years ago
| Milestone: | → modified-shop-2.0.0.0 |
|---|

Erledigt in r6048