diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2021-12-01 11:25:34 +0000 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2021-12-01 11:25:34 +0000 |
commit | 5e40c969c7c5553d9a2814fe472c71beb77e5e09 (patch) | |
tree | ca8d72cdd8d341b3f97fae797a1a2b0ba37021b2 /test/php/cwd | |
parent | 380f2dc2bae72f259ed3c7dc11b4c52a3eb4c06b (diff) | |
download | unit-5e40c969c7c5553d9a2814fe472c71beb77e5e09.tar.gz unit-5e40c969c7c5553d9a2814fe472c71beb77e5e09.tar.bz2 |
Tests: fixed skipping tests with disabled OPcache.
Diffstat (limited to '')
-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); |