This repository was archived by the owner on Nov 27, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +78
-73
lines changed Expand file tree Collapse file tree 2 files changed +78
-73
lines changed Original file line number Diff line number Diff line change 16
16
*
17
17
* ************** CAUTION **************
18
18
*
19
- * DO NOT EDIT THIS FILE as it will be overriden by Composer as part of
19
+ * DO NOT EDIT THIS FILE as it will be overridden by Composer as part of
20
20
* the installation/update process. The original file resides in the
21
21
* SensioDistributionBundle.
22
22
*
@@ -307,7 +307,7 @@ public function getFailedRequirements()
307
307
}
308
308
309
309
/**
310
- * Returns all optional recommmendations .
310
+ * Returns all optional recommendations .
311
311
*
312
312
* @return array Array of Requirement instances
313
313
*/
@@ -630,11 +630,15 @@ class_exists('Locale'),
630
630
}
631
631
632
632
$ accelerator =
633
- (function_exists ( ' apc_store ' ) && ini_get ('apc.enabled ' ))
633
+ (extension_loaded ( ' eaccelerator ' ) && ini_get ('eaccelerator.enable ' ))
634
634
||
635
- function_exists ( ' eaccelerator_put ' ) && ini_get ('eaccelerator.enable ' )
635
+ ( extension_loaded ( ' apc ' ) && ini_get ('apc.enabled ' ) )
636
636
||
637
- function_exists ('xcache_set ' )
637
+ (extension_loaded ('Zend OPcache ' ) && ini_get ('opcache.enable ' ))
638
+ ||
639
+ (extension_loaded ('xcache ' ) && ini_get ('xcache.cacher ' ))
640
+ ||
641
+ (extension_loaded ('wincache ' ) && ini_get ('wincache.ocenabled ' ))
638
642
;
639
643
640
644
$ this ->addRecommendation (
You can’t perform that action at this time.
0 commit comments