mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-10 17:36:53 +00:00
5ed74a1bae20e80fe9fa9fe69e9b47b954a6ff95
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead (closes #3105).
Discussion
----------
Handle opcache_invalidate() being disabled on shared hosting platforms
This fix makes twig gracefully fail on opcache API being disabled on shared hosting platforms for security reasons.
Tested with Grav CMS.
Commits
-------
349a5f26 Handle opcache_invalidate() being disabled on shared hosting platforms
…
…
Twig, the flexible, fast, and secure template language for PHP
==============================================================
Twig is a template language for PHP, released under the new BSD license (code
and documentation).
Twig uses a syntax similar to the Django and Jinja template languages which
inspired the Twig runtime environment.
Sponsors
--------
.. raw:: html
<a href="https://blackfire.io/docs/introduction?utm_source=twig&utm_medium=github_readme&utm_campaign=logo">
<img src="https://static.blackfire.io/assets/intemporals/logo/png/blackfire-io_secondary_horizontal_transparent.png?1" width="255px" alt="Blackfire.io">
</a>
More Information
----------------
Read the `documentation`_ for more information.
.. _documentation: https://twig.symfony.com/documentation
Description
Languages
PHP
99.9%