Andrew Collington 5 年之前
父节点
当前提交
573ed4a724
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -184,7 +184,7 @@ class OpCacheService
             $files = array_values($status['scripts']);
             $files = array_values($status['scripts']);
         }
         }
 
 
-        if ($config['directives']['opcache.file_cache_only']) {
+        if ($config['directives']['opcache.file_cache_only'] || !empty($status['file_cache_only'])) {
             $overview = false;
             $overview = false;
         } else {
         } else {
             $overview = array_merge(
             $overview = array_merge(