GX-Task #68681
Von Moritz Bunjes vor mehr als 3 Jahren aktualisiert
The release_info.php still provides the variable `$gx_version` but now also returns its value. Instead of writing: ``` php include 'release_info.php'; doSomethingWithTheVersion($gx_version); ``` you can write ``` php $shopVersion = include 'release_info.php'; include('release_info.php'); doSomethingWithTheVersion($shopVersion ); ``` making the code more readable and better to understand. You can also use ``` php $shopVersion = Gambio\Core\Application\Application::VERSION; doSomethingWithTheVersion($shopVersion ); ```