diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-08-31 00:42:12 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-08-31 00:42:12 +0300 |
commit | 61606835448554a7ee9a4431d732e1f2a9318376 (patch) | |
tree | 171841cea56c4fdbd0fd1bb2473e18d3a96cda3a /src/nxt_php_sapi.c | |
parent | 3f10b05de995099bf7551b17f5d8d38efe8b4fc5 (diff) | |
download | unit-61606835448554a7ee9a4431d732e1f2a9318376.tar.gz unit-61606835448554a7ee9a4431d732e1f2a9318376.tar.bz2 |
Introduced module compatibility vector.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_php_sapi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nxt_php_sapi.c b/src/nxt_php_sapi.c index 1e1f4087..5655dcbc 100644 --- a/src/nxt_php_sapi.c +++ b/src/nxt_php_sapi.c @@ -167,8 +167,14 @@ nxt_php_str_trim_lead(nxt_str_t *str, u_char t) } } +static uint32_t compat[] = { + NXT_VERNUM, +}; + NXT_EXPORT nxt_application_module_t nxt_app_module = { + sizeof(compat), + compat, nxt_string("php"), nxt_string(PHP_VERSION), nxt_php_init, |