• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/annotations/annotationreader.php
  • Класс: BitrixMainAnnotationsAnnotationReader
  • Вызов: AnnotationReader::__construct
public function __construct()
{
	if (
		extension_loaded('Zend Optimizer+') &&
		(ini_get('zend_optimizerplus.save_comments') === "0" || ini_get('opcache.save_comments') === "0"))
	{
		throw new SystemException( "You have to enable opcache.save_comments=1 or zend_optimizerplus.save_comments=1.");
	}

	if (extension_loaded('Zend OPcache') && ini_get('opcache.save_comments') == 0)
	{
		throw new SystemException( "You have to enable opcache.save_comments=1 or zend_optimizerplus.save_comments=1.");
	}
}