Question: Sets grav the version to server variable?

To get the grav version outside grav with twig like: PHP Version {{ constant(‘PHP_VERSION’) }} and Twig Version {{ constant(‘Twig_Environment::VERSION’) }}.

{{ constant('GRAV_VERSION') }}

Thanks, this is the internal define. I can´t get this outside of grav, but i have the follow solution:

$parent_dir = dirname(DIR);
include($parent_dir . ‘/grav/system/defines.php’);

This code at my external programm gets the defines of grav and i can use the aktual GRAV_VERSION automaticly for showing at my frontend.

Ok cool, sorry i misunderstood your question. Glad you got it sorted.