diff options
author | Andrei Belov <defan@nginx.com> | 2021-12-02 18:42:23 +0300 |
---|---|---|
committer | Andrei Belov <defan@nginx.com> | 2021-12-02 18:42:23 +0300 |
commit | 7634ab0f21c712e79c5d09e5817f866ff71d4f49 (patch) | |
tree | 1c4b20be29a9372858088c9faa3f02e7f584402f /test/php/cwd | |
parent | 5dfde9717d9ef611072defdd211089efa920c728 (diff) | |
parent | 85908c09f9b7d8d0bd797427d984e2697ece8267 (diff) | |
download | unit-7634ab0f21c712e79c5d09e5817f866ff71d4f49.tar.gz unit-7634ab0f21c712e79c5d09e5817f866ff71d4f49.tar.bz2 |
Merged with the 1.26 branch.1.26.1-1
Diffstat (limited to 'test/php/cwd')
-rw-r--r-- | test/php/cwd/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/php/cwd/index.php b/test/php/cwd/index.php index de3797e4..eb2cc5b3 100644 --- a/test/php/cwd/index.php +++ b/test/php/cwd/index.php @@ -11,7 +11,7 @@ $opcache = -1; if (function_exists('opcache_get_status')) { $status = opcache_get_status(); - $opcache = $status['opcache_enabled']; + $opcache = $status['opcache_enabled'] ? '1' : '0'; } header('X-OPcache: ' . $opcache); |