From 9a671a499104570366a9bf0d66537fe728575bbe Mon Sep 17 00:00:00 2001 From: Unbit Date: Thu, 21 Mar 2013 17:18:41 +0100 Subject: [PATCH] added %V magic var (contains UWSGI_VERSION) --- core/uwsgi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/uwsgi.c b/core/uwsgi.c index b32e7ec8..f3ec3657 100644 --- a/core/uwsgi.c +++ b/core/uwsgi.c @@ -1753,6 +1753,7 @@ int main(int argc, char *argv[], char *envp[]) { // set a couple of 'static' magic vars uwsgi.magic_table['v'] = uwsgi.cwd; uwsgi.magic_table['h'] = uwsgi.hostname; + uwsgi.magic_table['V'] = UWSGI_VERSION; // you can embed a ini file in the uWSGi binary with default options #ifdef UWSGI_EMBED_CONFIG