Projekt

Allgemein

Profil

Aktionen

GX-Task #68681

offen

release_info.php now returns the shop version

Von Moritz Bunjes vor fast 3 Jahren hinzugefügt. Vor fast 3 Jahren aktualisiert.

Status:
Gemeldet
Priorität:
Normal
Zugewiesen an:
Moritz Bunjes
Kategorie:
Innovation
% erledigt:

0%

Betroffene Versionen:
Unbestimmt

Beschreibung

The release_info.php still provides the variable $gx_version but now also returns its value. Instead of writing (still valid, but deprecated):

include 'release_info.php';
doSomethingWithTheVersion($gx_version);

you can write

$shopVersion = include 'release_info.php';
doSomethingWithTheVersion($shopVersion);

making the code more readable and better to understand. You can also use

$shopVersion = Gambio\Core\Application\Application::VERSION;
doSomethingWithTheVersion($shopVersion);

Aktionen #1

Von Moritz Bunjes vor fast 3 Jahren aktualisiert

Aktionen #2

Von Moritz Bunjes vor fast 3 Jahren aktualisiert

Aktionen #3

Von Moritz Bunjes vor fast 3 Jahren aktualisiert

Aktionen #4

Von Moritz Bunjes vor fast 3 Jahren aktualisiert

Aktionen

Auch abrufbar als: Atom PDF