Skip to content

Commit

Permalink
Merge pull request #35 from SoftRose/master
Browse files Browse the repository at this point in the history
DCOM-243 Added check for Zend OPcache extenstion
  • Loading branch information
Ocramius committed Jul 6, 2014
2 parents 3f58ce0 + 7e68eac commit 700a310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/Common/Annotations/AnnotationReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public function __construct()
throw AnnotationException::optimizerPlusSaveComments();
}

if (extension_loaded('opcache') && ini_get('opcache.save_comments') == 0) {
if (extension_loaded('Zend OPcache') && ini_get('opcache.save_comments') == 0) {
throw AnnotationException::optimizerPlusSaveComments();
}

Expand Down

0 comments on commit 700a310

Please sign in to comment.