Andrew Collington %!s(int64=8) %!d(string=hai) anos
pai
achega
4da19124fc
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      index.php

+ 4 - 0
index.php

@@ -36,6 +36,10 @@ if (!extension_loaded('Zend OPcache')) {
     die('The Zend OPcache extension does not appear to be installed');
 }
 
+if (empty(ini_get('opcache.enable'))) {
+    die('The Zend OPcache extension is installed but not turned on');
+}
+
 class OpCacheService
 {
     protected $data;