mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 16:48:42 +02:00
⬆️ N°4770 Update to latest Symfony 3.4
This commit is contained in:
4
lib/symfony/cache/Simple/PhpFilesCache.php
vendored
4
lib/symfony/cache/Simple/PhpFilesCache.php
vendored
@@ -29,13 +29,13 @@ class PhpFilesCache extends AbstractCache implements PruneableInterface
|
||||
public function __construct($namespace = '', $defaultLifetime = 0, $directory = null)
|
||||
{
|
||||
if (!static::isSupported()) {
|
||||
throw new CacheException('OPcache is not enabled');
|
||||
throw new CacheException('OPcache is not enabled.');
|
||||
}
|
||||
parent::__construct('', $defaultLifetime);
|
||||
$this->init($namespace, $directory);
|
||||
|
||||
$e = new \Exception();
|
||||
$this->includeHandler = function () use ($e) { throw $e; };
|
||||
$this->zendDetectUnicode = filter_var(ini_get('zend.detect_unicode'), FILTER_VALIDATE_BOOLEAN);
|
||||
$this->zendDetectUnicode = filter_var(ini_get('zend.detect_unicode'), \FILTER_VALIDATE_BOOLEAN);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user