2015-10-23 23:35:05 +02:00
|
|
|
# Manages the php cli main ini file
|
2016-12-13 22:37:53 +01:00
|
|
|
{% from "php/ng/map.jinja" import php with context %}
|
2015-10-23 23:35:05 +02:00
|
|
|
{% from "php/ng/ini.jinja" import php_ini %}
|
|
|
|
|
2019-07-28 07:05:22 +02:00
|
|
|
include:
|
|
|
|
- php.ng.deprecated
|
|
|
|
|
2015-10-23 23:35:05 +02:00
|
|
|
{% set settings = php.xcache.ini.defaults %}
|
2018-03-10 17:06:25 +01:00
|
|
|
{% for key, value in php.xcache.ini.settings.items() %}
|
2015-10-23 23:35:05 +02:00
|
|
|
{% if settings[key] is defined %}
|
|
|
|
{% do settings[key].update(value) %}
|
|
|
|
{% else %}
|
|
|
|
{% do settings.update({key: value}) %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
php_xcache_ini:
|
|
|
|
{{ php_ini(php.lookup.xcache.ini, php.xcache.ini.opts, settings) }}
|