/var/www/html/grav/user/plugins/custom-utils/src/Twig/AutoDealerExtension.php
* @return string
*/
public function getName()
{
return 'AutoDealerExtension';
}
/**
* Adding filters.
*
* @return array
*/
public function getFunctions()
{
return [
new \Twig_SimpleFunction('get_auto_dealer_closed_time_if_opened', [$this, 'getAutoDealerCloseTimeIfOpened']),
];
}
public function getAutoDealerCloseTimeIfOpened(array $autoDealer): ?string
{
$timeSlots = $autoDealer['timeSlots'];
$dateTime = new \DateTime('now', $this->getDateTimeZoneFromCountryCode($autoDealer['country']));
$hourNow = $dateTime->format('H:i');
$day = lcfirst($dateTime->format('l'));
$dayMorningStart = $timeSlots["{$day}MorningStart"];
$dayMorningEnd = $timeSlots["{$day}MorningEnd"];
$dayAfternoonStart = $timeSlots["{$day}AfternoonStart"];
$dayAfternoonEnd = $timeSlots["{$day}AfternoonEnd"];
if ((!empty($dayMorningStart) && !empty($dayMorningEnd) && $hourNow >= $dayMorningStart && $hourNow <= $dayMorningEnd)
|| (!empty($dayAfternoonStart) && !empty($dayAfternoonEnd) && $hourNow >= $dayAfternoonStart && $hourNow <= $dayAfternoonEnd)
|| (!empty($dayMorningStart) && !empty($dayAfternoonEnd) && $hourNow >= $dayMorningStart && $hourNow <= $dayAfternoonEnd)
) {
return !empty($dayMorningEnd) ? $dayMorningEnd : $dayAfternoonEnd;
}
Arguments
"Grav\Plugin\CustomUtils\Twig\AutoDealerExtension::getAutoDealerCloseTimeIfOpened(): Argument #1 ($autoDealer) must be of type array, null given, called in /var/www/html/vendor/twig/twig/src/Environment.php(497) : eval()'d code on line 98"
/var/www/html/vendor/twig/twig/src/Environment.php
} else {
$source = $loader->getSourceContext($name);
}
$content = $this->compileSource($source);
if ($this->bcWriteCacheFile) {
$this->writeCacheFile($key, $content);
} else {
$this->cache->write($key, $content);
$this->cache->load($key);
}
if (!class_exists($mainCls, false)) {
/* Last line of defense if either $this->bcWriteCacheFile was used,
* $this->cache is implemented as a no-op or we have a race condition
* where the cache was cleared between the above calls to write to and load from
* the cache.
*/
eval('?>'.$content);
}
}
if (!class_exists($cls, false)) {
throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
}
}
if (!$this->runtimeInitialized) {
$this->initRuntime();
}
return $this->loadedTemplates[$cls] = new $cls($this);
}
/**
* Creates a template from source.
*
* This method should not be used as a generic way to load templates.
*
Arguments
/var/www/html/vendor/twig/twig/src/Template.php
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
}
return ob_get_clean();
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
// this is mostly useful for \Twig\Error\LoaderError exceptions
// see \Twig\Error\LoaderError
if (-1 === $e->getTemplateLine()) {
$e->guess();
}
throw $e;
} catch (\Exception $e) {
$e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
$e->guess();
throw $e;
}
}
Arguments
array:33 [
"config" => Grav\Common\Config\Config {#92}
"system" => array:31 [
"absolute_urls" => true
"timezone" => "Europe/Paris"
"default_locale" => "fr"
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => true
"force_lowercase_urls" => true
"custom_base_url" => "https://www.alpine-rrg.com"
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => array:6 [
0 => "fr_FR"
1 => "de_CH"
2 => "de_DE"
3 => "en_GB"
4 => "es_ES"
5 => "fr_CH"
]
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => false
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => true
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "custom"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "301"
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"enabled" => true
"check" => array:1 [
"method" => "hash"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => true
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => false
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:16 [
"css_pipeline" => true
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => true
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => true
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => "1"
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 67108864
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => true
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
"google_map" => array:1 [
"api_key" => "AIzaSyAxKzQvfL0X2fsFm0xmbE0aL006PSRawzc"
]
]
"theme" => array:2 [
"enabled" => true
"dropdown" => array:1 [
"enabled" => false
]
]
"site" => array:9 [
"title" => "Alpine Retail Renault Group"
"default_lang" => "fr_FR"
"author" => array:2 [
"name" => "Alpine Renault Retail Group"
"email" => "contact@renault-retail-group.fr"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:3 [
"viewport" => "width=device-width, initial-scale=1, maximum-scale=5"
"HandheldFriendly" => "true"
"twitter:card" => "summary_large_image"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#142}
"assets" => Grav\Common\Assets {#251}
"taxonomy" => Grav\Common\Taxonomy {#279}
"browser" => Grav\Common\Browser {#335}
"base_dir" => "/var/www/html/web/../grav"
"home_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url_absolute" => "https://www.alpine-rrg.com/fr_FR"
"base_url_relative" => "/fr_FR"
"base_url_simple" => "https://www.alpine-rrg.com"
"theme_dir" => "/var/www/html/web/../grav/user/themes/custom"
"theme_url" => "https://www.alpine-rrg.com/user/themes/custom"
"html_lang" => "fr_FR"
"language_codes" => Grav\Common\Language\LanguageCodes {#336}
"form" => null
"form_max_filesize" => 64
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#353}
"page" => Grav\Common\Page\Page {#812}
"header" => {#818}
"media" => Grav\Common\Page\Media {#860}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"urls" => __TwigTemplate_be1bfc5e8357f6a1fad76c4552b64a765e4b49a55c6ff336c695629a4b5d46f2 {#1637}
"time" => __TwigTemplate_114c6a6360f4db1456a82392c53103e1f36886ee56edccad66f9bf18171572f1 {#2228}
"dealer" => null
"gtm" => __TwigTemplate_9abb689c36095029b27db92b3e1726457efb803d835692c0f1e7147032df08b2 {#1601}
"title_center" => "Centre Alpine RRG "
"home" => Grav\Common\Page\Page {#340}
]
[]
/var/www/html/vendor/twig/twig/src/Template.php
{
return $this;
}
/**
* Returns all blocks.
*
* This method is for internal use only and should never be called
* directly.
*
* @return array An array of blocks
*/
public function getBlocks()
{
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
if ($this->env->isDebug()) {
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Exception $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
Arguments
array:33 [
"config" => Grav\Common\Config\Config {#92}
"system" => array:31 [
"absolute_urls" => true
"timezone" => "Europe/Paris"
"default_locale" => "fr"
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => true
"force_lowercase_urls" => true
"custom_base_url" => "https://www.alpine-rrg.com"
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => array:6 [
0 => "fr_FR"
1 => "de_CH"
2 => "de_DE"
3 => "en_GB"
4 => "es_ES"
5 => "fr_CH"
]
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => false
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => true
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "custom"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "301"
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"enabled" => true
"check" => array:1 [
"method" => "hash"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => true
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => false
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:16 [
"css_pipeline" => true
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => true
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => true
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => "1"
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 67108864
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => true
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
"google_map" => array:1 [
"api_key" => "AIzaSyAxKzQvfL0X2fsFm0xmbE0aL006PSRawzc"
]
]
"theme" => array:2 [
"enabled" => true
"dropdown" => array:1 [
"enabled" => false
]
]
"site" => array:9 [
"title" => "Alpine Retail Renault Group"
"default_lang" => "fr_FR"
"author" => array:2 [
"name" => "Alpine Renault Retail Group"
"email" => "contact@renault-retail-group.fr"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:3 [
"viewport" => "width=device-width, initial-scale=1, maximum-scale=5"
"HandheldFriendly" => "true"
"twitter:card" => "summary_large_image"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#142}
"assets" => Grav\Common\Assets {#251}
"taxonomy" => Grav\Common\Taxonomy {#279}
"browser" => Grav\Common\Browser {#335}
"base_dir" => "/var/www/html/web/../grav"
"home_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url_absolute" => "https://www.alpine-rrg.com/fr_FR"
"base_url_relative" => "/fr_FR"
"base_url_simple" => "https://www.alpine-rrg.com"
"theme_dir" => "/var/www/html/web/../grav/user/themes/custom"
"theme_url" => "https://www.alpine-rrg.com/user/themes/custom"
"html_lang" => "fr_FR"
"language_codes" => Grav\Common\Language\LanguageCodes {#336}
"form" => null
"form_max_filesize" => 64
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#353}
"page" => Grav\Common\Page\Page {#812}
"header" => {#818}
"media" => Grav\Common\Page\Media {#860}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"urls" => __TwigTemplate_be1bfc5e8357f6a1fad76c4552b64a765e4b49a55c6ff336c695629a4b5d46f2 {#1637}
"time" => __TwigTemplate_114c6a6360f4db1456a82392c53103e1f36886ee56edccad66f9bf18171572f1 {#2228}
"dealer" => null
"gtm" => __TwigTemplate_9abb689c36095029b27db92b3e1726457efb803d835692c0f1e7147032df08b2 {#1601}
"title_center" => "Centre Alpine RRG "
"home" => Grav\Common\Page\Page {#340}
]
[]
/var/www/html/vendor/twig/twig/src/Environment.php
} else {
$source = $loader->getSourceContext($name);
}
$content = $this->compileSource($source);
if ($this->bcWriteCacheFile) {
$this->writeCacheFile($key, $content);
} else {
$this->cache->write($key, $content);
$this->cache->load($key);
}
if (!class_exists($mainCls, false)) {
/* Last line of defense if either $this->bcWriteCacheFile was used,
* $this->cache is implemented as a no-op or we have a race condition
* where the cache was cleared between the above calls to write to and load from
* the cache.
*/
eval('?>'.$content);
}
}
if (!class_exists($cls, false)) {
throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
}
}
if (!$this->runtimeInitialized) {
$this->initRuntime();
}
return $this->loadedTemplates[$cls] = new $cls($this);
}
/**
* Creates a template from source.
*
* This method should not be used as a generic way to load templates.
*
Arguments
array:33 [
"config" => Grav\Common\Config\Config {#92}
"system" => array:31 [
"absolute_urls" => true
"timezone" => "Europe/Paris"
"default_locale" => "fr"
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => true
"force_lowercase_urls" => true
"custom_base_url" => "https://www.alpine-rrg.com"
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => array:6 [
0 => "fr_FR"
1 => "de_CH"
2 => "de_DE"
3 => "en_GB"
4 => "es_ES"
5 => "fr_CH"
]
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => false
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => true
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "custom"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "301"
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"enabled" => true
"check" => array:1 [
"method" => "hash"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => true
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => false
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:16 [
"css_pipeline" => true
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => true
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => true
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => "1"
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 67108864
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => true
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
"google_map" => array:1 [
"api_key" => "AIzaSyAxKzQvfL0X2fsFm0xmbE0aL006PSRawzc"
]
]
"theme" => array:2 [
"enabled" => true
"dropdown" => array:1 [
"enabled" => false
]
]
"site" => array:9 [
"title" => "Alpine Retail Renault Group"
"default_lang" => "fr_FR"
"author" => array:2 [
"name" => "Alpine Renault Retail Group"
"email" => "contact@renault-retail-group.fr"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:3 [
"viewport" => "width=device-width, initial-scale=1, maximum-scale=5"
"HandheldFriendly" => "true"
"twitter:card" => "summary_large_image"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#142}
"assets" => Grav\Common\Assets {#251}
"taxonomy" => Grav\Common\Taxonomy {#279}
"browser" => Grav\Common\Browser {#335}
"base_dir" => "/var/www/html/web/../grav"
"home_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url_absolute" => "https://www.alpine-rrg.com/fr_FR"
"base_url_relative" => "/fr_FR"
"base_url_simple" => "https://www.alpine-rrg.com"
"theme_dir" => "/var/www/html/web/../grav/user/themes/custom"
"theme_url" => "https://www.alpine-rrg.com/user/themes/custom"
"html_lang" => "fr_FR"
"language_codes" => Grav\Common\Language\LanguageCodes {#336}
"form" => null
"form_max_filesize" => 64
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#353}
"page" => Grav\Common\Page\Page {#812}
"header" => {#818}
"media" => Grav\Common\Page\Media {#860}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"urls" => __TwigTemplate_be1bfc5e8357f6a1fad76c4552b64a765e4b49a55c6ff336c695629a4b5d46f2 {#1637}
"time" => __TwigTemplate_114c6a6360f4db1456a82392c53103e1f36886ee56edccad66f9bf18171572f1 {#2228}
"dealer" => null
"gtm" => __TwigTemplate_9abb689c36095029b27db92b3e1726457efb803d835692c0f1e7147032df08b2 {#1601}
"title_center" => "Centre Alpine RRG "
"home" => Grav\Common\Page\Page {#340}
]
/var/www/html/vendor/twig/twig/src/Template.php
if ($useBlocks && isset($blocks[$name])) {
$template = $blocks[$name][0];
$block = $blocks[$name][1];
} elseif (isset($this->blocks[$name])) {
$template = $this->blocks[$name][0];
$block = $this->blocks[$name][1];
} else {
$template = null;
$block = null;
}
// avoid RCEs when sandbox is enabled
if (null !== $template && !$template instanceof self) {
throw new \LogicException('A block must be a method on a \Twig\Template instance.');
}
if (null !== $template) {
try {
$template->$block($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($template->getSourceContext());
}
// this is mostly useful for \Twig\Error\LoaderError exceptions
// see \Twig\Error\LoaderError
if (-1 === $e->getTemplateLine()) {
$e->guess();
}
throw $e;
} catch (\Exception $e) {
$e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getSourceContext(), $e);
$e->guess();
throw $e;
}
} elseif (false !== $parent = $this->getParent($context)) {
$parent->displayBlock($name, $context, array_merge($this->blocks, $blocks), false);
Arguments
array:33 [
"config" => Grav\Common\Config\Config {#92}
"system" => array:31 [
"absolute_urls" => true
"timezone" => "Europe/Paris"
"default_locale" => "fr"
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => true
"force_lowercase_urls" => true
"custom_base_url" => "https://www.alpine-rrg.com"
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => array:6 [
0 => "fr_FR"
1 => "de_CH"
2 => "de_DE"
3 => "en_GB"
4 => "es_ES"
5 => "fr_CH"
]
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => false
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => true
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "custom"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "301"
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"enabled" => true
"check" => array:1 [
"method" => "hash"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => true
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => false
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:16 [
"css_pipeline" => true
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => true
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => true
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => "1"
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 67108864
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => true
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
"google_map" => array:1 [
"api_key" => "AIzaSyAxKzQvfL0X2fsFm0xmbE0aL006PSRawzc"
]
]
"theme" => array:2 [
"enabled" => true
"dropdown" => array:1 [
"enabled" => false
]
]
"site" => array:9 [
"title" => "Alpine Retail Renault Group"
"default_lang" => "fr_FR"
"author" => array:2 [
"name" => "Alpine Renault Retail Group"
"email" => "contact@renault-retail-group.fr"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:3 [
"viewport" => "width=device-width, initial-scale=1, maximum-scale=5"
"HandheldFriendly" => "true"
"twitter:card" => "summary_large_image"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#142}
"assets" => Grav\Common\Assets {#251}
"taxonomy" => Grav\Common\Taxonomy {#279}
"browser" => Grav\Common\Browser {#335}
"base_dir" => "/var/www/html/web/../grav"
"home_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url_absolute" => "https://www.alpine-rrg.com/fr_FR"
"base_url_relative" => "/fr_FR"
"base_url_simple" => "https://www.alpine-rrg.com"
"theme_dir" => "/var/www/html/web/../grav/user/themes/custom"
"theme_url" => "https://www.alpine-rrg.com/user/themes/custom"
"html_lang" => "fr_FR"
"language_codes" => Grav\Common\Language\LanguageCodes {#336}
"form" => null
"form_max_filesize" => 64
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#353}
"page" => Grav\Common\Page\Page {#812}
"header" => {#818}
"media" => Grav\Common\Page\Media {#860}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"urls" => __TwigTemplate_be1bfc5e8357f6a1fad76c4552b64a765e4b49a55c6ff336c695629a4b5d46f2 {#1637}
"time" => __TwigTemplate_114c6a6360f4db1456a82392c53103e1f36886ee56edccad66f9bf18171572f1 {#2228}
"dealer" => null
"gtm" => __TwigTemplate_9abb689c36095029b27db92b3e1726457efb803d835692c0f1e7147032df08b2 {#1601}
"title_center" => "Centre Alpine RRG "
"home" => Grav\Common\Page\Page {#340}
]
array:10 [
"metadata" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_metadata"
]
"title" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_title"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_stylesheets"
]
"gtmInit" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_gtmInit"
]
"body" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_body"
]
"header" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_header"
]
"breadcrumb" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_breadcrumb"
]
"content" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_footer"
]
"javascripts" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_javascripts"
]
]
/var/www/html/vendor/twig/twig/src/Environment.php
} else {
$source = $loader->getSourceContext($name);
}
$content = $this->compileSource($source);
if ($this->bcWriteCacheFile) {
$this->writeCacheFile($key, $content);
} else {
$this->cache->write($key, $content);
$this->cache->load($key);
}
if (!class_exists($mainCls, false)) {
/* Last line of defense if either $this->bcWriteCacheFile was used,
* $this->cache is implemented as a no-op or we have a race condition
* where the cache was cleared between the above calls to write to and load from
* the cache.
*/
eval('?>'.$content);
}
}
if (!class_exists($cls, false)) {
throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
}
}
if (!$this->runtimeInitialized) {
$this->initRuntime();
}
return $this->loadedTemplates[$cls] = new $cls($this);
}
/**
* Creates a template from source.
*
* This method should not be used as a generic way to load templates.
*
Arguments
"content"
array:31 [
"config" => Grav\Common\Config\Config {#92}
"system" => array:31 [
"absolute_urls" => true
"timezone" => "Europe/Paris"
"default_locale" => "fr"
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => true
"force_lowercase_urls" => true
"custom_base_url" => "https://www.alpine-rrg.com"
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => array:6 [
0 => "fr_FR"
1 => "de_CH"
2 => "de_DE"
3 => "en_GB"
4 => "es_ES"
5 => "fr_CH"
]
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => false
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => true
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "custom"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "301"
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"enabled" => true
"check" => array:1 [
"method" => "hash"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => true
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => false
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:16 [
"css_pipeline" => true
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => true
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => true
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => "1"
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 67108864
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => true
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
"google_map" => array:1 [
"api_key" => "AIzaSyAxKzQvfL0X2fsFm0xmbE0aL006PSRawzc"
]
]
"theme" => array:2 [
"enabled" => true
"dropdown" => array:1 [
"enabled" => false
]
]
"site" => array:9 [
"title" => "Alpine Retail Renault Group"
"default_lang" => "fr_FR"
"author" => array:2 [
"name" => "Alpine Renault Retail Group"
"email" => "contact@renault-retail-group.fr"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:3 [
"viewport" => "width=device-width, initial-scale=1, maximum-scale=5"
"HandheldFriendly" => "true"
"twitter:card" => "summary_large_image"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#142}
"assets" => Grav\Common\Assets {#251}
"taxonomy" => Grav\Common\Taxonomy {#279}
"browser" => Grav\Common\Browser {#335}
"base_dir" => "/var/www/html/web/../grav"
"home_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url_absolute" => "https://www.alpine-rrg.com/fr_FR"
"base_url_relative" => "/fr_FR"
"base_url_simple" => "https://www.alpine-rrg.com"
"theme_dir" => "/var/www/html/web/../grav/user/themes/custom"
"theme_url" => "https://www.alpine-rrg.com/user/themes/custom"
"html_lang" => "fr_FR"
"language_codes" => Grav\Common\Language\LanguageCodes {#336}
"form" => null
"form_max_filesize" => 64
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#353}
"page" => Grav\Common\Page\Page {#812}
"header" => {#818}
"media" => Grav\Common\Page\Media {#860}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"urls" => __TwigTemplate_be1bfc5e8357f6a1fad76c4552b64a765e4b49a55c6ff336c695629a4b5d46f2 {#1637}
"time" => __TwigTemplate_114c6a6360f4db1456a82392c53103e1f36886ee56edccad66f9bf18171572f1 {#2228}
"dealer" => null
"gtm" => __TwigTemplate_9abb689c36095029b27db92b3e1726457efb803d835692c0f1e7147032df08b2 {#1601}
]
array:10 [
"metadata" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_metadata"
]
"title" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_title"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_stylesheets"
]
"gtmInit" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_gtmInit"
]
"body" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_body"
]
"header" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_header"
]
"breadcrumb" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_breadcrumb"
]
"content" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_footer"
]
"javascripts" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_javascripts"
]
]
/var/www/html/vendor/twig/twig/src/Template.php
if ($useBlocks && isset($blocks[$name])) {
$template = $blocks[$name][0];
$block = $blocks[$name][1];
} elseif (isset($this->blocks[$name])) {
$template = $this->blocks[$name][0];
$block = $this->blocks[$name][1];
} else {
$template = null;
$block = null;
}
// avoid RCEs when sandbox is enabled
if (null !== $template && !$template instanceof self) {
throw new \LogicException('A block must be a method on a \Twig\Template instance.');
}
if (null !== $template) {
try {
$template->$block($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($template->getSourceContext());
}
// this is mostly useful for \Twig\Error\LoaderError exceptions
// see \Twig\Error\LoaderError
if (-1 === $e->getTemplateLine()) {
$e->guess();
}
throw $e;
} catch (\Exception $e) {
$e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getSourceContext(), $e);
$e->guess();
throw $e;
}
} elseif (false !== $parent = $this->getParent($context)) {
$parent->displayBlock($name, $context, array_merge($this->blocks, $blocks), false);
Arguments
array:31 [
"config" => Grav\Common\Config\Config {#92}
"system" => array:31 [
"absolute_urls" => true
"timezone" => "Europe/Paris"
"default_locale" => "fr"
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => true
"force_lowercase_urls" => true
"custom_base_url" => "https://www.alpine-rrg.com"
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => array:6 [
0 => "fr_FR"
1 => "de_CH"
2 => "de_DE"
3 => "en_GB"
4 => "es_ES"
5 => "fr_CH"
]
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => false
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => true
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "custom"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "301"
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"enabled" => true
"check" => array:1 [
"method" => "hash"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => true
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => false
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:16 [
"css_pipeline" => true
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => true
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => true
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => "1"
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 67108864
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => true
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
"google_map" => array:1 [
"api_key" => "AIzaSyAxKzQvfL0X2fsFm0xmbE0aL006PSRawzc"
]
]
"theme" => array:2 [
"enabled" => true
"dropdown" => array:1 [
"enabled" => false
]
]
"site" => array:9 [
"title" => "Alpine Retail Renault Group"
"default_lang" => "fr_FR"
"author" => array:2 [
"name" => "Alpine Renault Retail Group"
"email" => "contact@renault-retail-group.fr"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:3 [
"viewport" => "width=device-width, initial-scale=1, maximum-scale=5"
"HandheldFriendly" => "true"
"twitter:card" => "summary_large_image"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#142}
"assets" => Grav\Common\Assets {#251}
"taxonomy" => Grav\Common\Taxonomy {#279}
"browser" => Grav\Common\Browser {#335}
"base_dir" => "/var/www/html/web/../grav"
"home_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url_absolute" => "https://www.alpine-rrg.com/fr_FR"
"base_url_relative" => "/fr_FR"
"base_url_simple" => "https://www.alpine-rrg.com"
"theme_dir" => "/var/www/html/web/../grav/user/themes/custom"
"theme_url" => "https://www.alpine-rrg.com/user/themes/custom"
"html_lang" => "fr_FR"
"language_codes" => Grav\Common\Language\LanguageCodes {#336}
"form" => null
"form_max_filesize" => 64
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#353}
"page" => Grav\Common\Page\Page {#812}
"header" => {#818}
"media" => Grav\Common\Page\Media {#860}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"urls" => __TwigTemplate_be1bfc5e8357f6a1fad76c4552b64a765e4b49a55c6ff336c695629a4b5d46f2 {#1637}
"time" => __TwigTemplate_114c6a6360f4db1456a82392c53103e1f36886ee56edccad66f9bf18171572f1 {#2228}
"dealer" => null
"gtm" => __TwigTemplate_9abb689c36095029b27db92b3e1726457efb803d835692c0f1e7147032df08b2 {#1601}
]
array:10 [
"metadata" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_metadata"
]
"title" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_title"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_stylesheets"
]
"gtmInit" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_gtmInit"
]
"body" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_body"
]
"header" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_header"
]
"breadcrumb" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_breadcrumb"
]
"content" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_footer"
]
"javascripts" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_javascripts"
]
]
/var/www/html/vendor/twig/twig/src/Environment.php
} else {
$source = $loader->getSourceContext($name);
}
$content = $this->compileSource($source);
if ($this->bcWriteCacheFile) {
$this->writeCacheFile($key, $content);
} else {
$this->cache->write($key, $content);
$this->cache->load($key);
}
if (!class_exists($mainCls, false)) {
/* Last line of defense if either $this->bcWriteCacheFile was used,
* $this->cache is implemented as a no-op or we have a race condition
* where the cache was cleared between the above calls to write to and load from
* the cache.
*/
eval('?>'.$content);
}
}
if (!class_exists($cls, false)) {
throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
}
}
if (!$this->runtimeInitialized) {
$this->initRuntime();
}
return $this->loadedTemplates[$cls] = new $cls($this);
}
/**
* Creates a template from source.
*
* This method should not be used as a generic way to load templates.
*
Arguments
"body"
array:31 [
"config" => Grav\Common\Config\Config {#92}
"system" => array:31 [
"absolute_urls" => true
"timezone" => "Europe/Paris"
"default_locale" => "fr"
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => true
"force_lowercase_urls" => true
"custom_base_url" => "https://www.alpine-rrg.com"
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => array:6 [
0 => "fr_FR"
1 => "de_CH"
2 => "de_DE"
3 => "en_GB"
4 => "es_ES"
5 => "fr_CH"
]
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => false
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => true
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "custom"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "301"
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"enabled" => true
"check" => array:1 [
"method" => "hash"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => true
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => false
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:16 [
"css_pipeline" => true
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => true
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => true
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => "1"
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 67108864
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => true
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
"google_map" => array:1 [
"api_key" => "AIzaSyAxKzQvfL0X2fsFm0xmbE0aL006PSRawzc"
]
]
"theme" => array:2 [
"enabled" => true
"dropdown" => array:1 [
"enabled" => false
]
]
"site" => array:9 [
"title" => "Alpine Retail Renault Group"
"default_lang" => "fr_FR"
"author" => array:2 [
"name" => "Alpine Renault Retail Group"
"email" => "contact@renault-retail-group.fr"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:3 [
"viewport" => "width=device-width, initial-scale=1, maximum-scale=5"
"HandheldFriendly" => "true"
"twitter:card" => "summary_large_image"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#142}
"assets" => Grav\Common\Assets {#251}
"taxonomy" => Grav\Common\Taxonomy {#279}
"browser" => Grav\Common\Browser {#335}
"base_dir" => "/var/www/html/web/../grav"
"home_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url_absolute" => "https://www.alpine-rrg.com/fr_FR"
"base_url_relative" => "/fr_FR"
"base_url_simple" => "https://www.alpine-rrg.com"
"theme_dir" => "/var/www/html/web/../grav/user/themes/custom"
"theme_url" => "https://www.alpine-rrg.com/user/themes/custom"
"html_lang" => "fr_FR"
"language_codes" => Grav\Common\Language\LanguageCodes {#336}
"form" => null
"form_max_filesize" => 64
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#353}
"page" => Grav\Common\Page\Page {#812}
"header" => {#818}
"media" => Grav\Common\Page\Media {#860}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"urls" => __TwigTemplate_be1bfc5e8357f6a1fad76c4552b64a765e4b49a55c6ff336c695629a4b5d46f2 {#1637}
"time" => __TwigTemplate_114c6a6360f4db1456a82392c53103e1f36886ee56edccad66f9bf18171572f1 {#2228}
"dealer" => null
"gtm" => __TwigTemplate_9abb689c36095029b27db92b3e1726457efb803d835692c0f1e7147032df08b2 {#1601}
]
array:10 [
"metadata" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_metadata"
]
"title" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_title"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_stylesheets"
]
"gtmInit" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_gtmInit"
]
"body" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_body"
]
"header" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_header"
]
"breadcrumb" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_breadcrumb"
]
"content" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_footer"
]
"javascripts" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_javascripts"
]
]
/var/www/html/vendor/twig/twig/src/Template.php
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
}
return ob_get_clean();
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
// this is mostly useful for \Twig\Error\LoaderError exceptions
// see \Twig\Error\LoaderError
if (-1 === $e->getTemplateLine()) {
$e->guess();
}
throw $e;
} catch (\Exception $e) {
$e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
$e->guess();
throw $e;
}
}
Arguments
array:31 [
"config" => Grav\Common\Config\Config {#92}
"system" => array:31 [
"absolute_urls" => true
"timezone" => "Europe/Paris"
"default_locale" => "fr"
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => true
"force_lowercase_urls" => true
"custom_base_url" => "https://www.alpine-rrg.com"
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => array:6 [
0 => "fr_FR"
1 => "de_CH"
2 => "de_DE"
3 => "en_GB"
4 => "es_ES"
5 => "fr_CH"
]
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => false
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => true
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "custom"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "301"
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"enabled" => true
"check" => array:1 [
"method" => "hash"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => true
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => false
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:16 [
"css_pipeline" => true
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => true
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => true
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => "1"
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 67108864
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => true
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
"google_map" => array:1 [
"api_key" => "AIzaSyAxKzQvfL0X2fsFm0xmbE0aL006PSRawzc"
]
]
"theme" => array:2 [
"enabled" => true
"dropdown" => array:1 [
"enabled" => false
]
]
"site" => array:9 [
"title" => "Alpine Retail Renault Group"
"default_lang" => "fr_FR"
"author" => array:2 [
"name" => "Alpine Renault Retail Group"
"email" => "contact@renault-retail-group.fr"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:3 [
"viewport" => "width=device-width, initial-scale=1, maximum-scale=5"
"HandheldFriendly" => "true"
"twitter:card" => "summary_large_image"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#142}
"assets" => Grav\Common\Assets {#251}
"taxonomy" => Grav\Common\Taxonomy {#279}
"browser" => Grav\Common\Browser {#335}
"base_dir" => "/var/www/html/web/../grav"
"home_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url_absolute" => "https://www.alpine-rrg.com/fr_FR"
"base_url_relative" => "/fr_FR"
"base_url_simple" => "https://www.alpine-rrg.com"
"theme_dir" => "/var/www/html/web/../grav/user/themes/custom"
"theme_url" => "https://www.alpine-rrg.com/user/themes/custom"
"html_lang" => "fr_FR"
"language_codes" => Grav\Common\Language\LanguageCodes {#336}
"form" => null
"form_max_filesize" => 64
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#353}
"page" => Grav\Common\Page\Page {#812}
"header" => {#818}
"media" => Grav\Common\Page\Media {#860}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"urls" => __TwigTemplate_be1bfc5e8357f6a1fad76c4552b64a765e4b49a55c6ff336c695629a4b5d46f2 {#1637}
"time" => __TwigTemplate_114c6a6360f4db1456a82392c53103e1f36886ee56edccad66f9bf18171572f1 {#2228}
"dealer" => null
"gtm" => __TwigTemplate_9abb689c36095029b27db92b3e1726457efb803d835692c0f1e7147032df08b2 {#1601}
]
array:10 [
"metadata" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_metadata"
]
"title" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_title"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_stylesheets"
]
"gtmInit" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_gtmInit"
]
"body" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_body"
]
"header" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_header"
]
"breadcrumb" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_breadcrumb"
]
"content" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_footer"
]
"javascripts" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_javascripts"
]
]
/var/www/html/vendor/twig/twig/src/Template.php
{
return $this;
}
/**
* Returns all blocks.
*
* This method is for internal use only and should never be called
* directly.
*
* @return array An array of blocks
*/
public function getBlocks()
{
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
if ($this->env->isDebug()) {
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Exception $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
Arguments
array:30 [
"config" => Grav\Common\Config\Config {#92}
"system" => array:31 [
"absolute_urls" => true
"timezone" => "Europe/Paris"
"default_locale" => "fr"
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => true
"force_lowercase_urls" => true
"custom_base_url" => "https://www.alpine-rrg.com"
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => array:6 [
0 => "fr_FR"
1 => "de_CH"
2 => "de_DE"
3 => "en_GB"
4 => "es_ES"
5 => "fr_CH"
]
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => false
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => true
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "custom"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "301"
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"enabled" => true
"check" => array:1 [
"method" => "hash"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => true
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => false
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:16 [
"css_pipeline" => true
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => true
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => true
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => "1"
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 67108864
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => true
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
"google_map" => array:1 [
"api_key" => "AIzaSyAxKzQvfL0X2fsFm0xmbE0aL006PSRawzc"
]
]
"theme" => array:2 [
"enabled" => true
"dropdown" => array:1 [
"enabled" => false
]
]
"site" => array:9 [
"title" => "Alpine Retail Renault Group"
"default_lang" => "fr_FR"
"author" => array:2 [
"name" => "Alpine Renault Retail Group"
"email" => "contact@renault-retail-group.fr"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:3 [
"viewport" => "width=device-width, initial-scale=1, maximum-scale=5"
"HandheldFriendly" => "true"
"twitter:card" => "summary_large_image"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#142}
"assets" => Grav\Common\Assets {#251}
"taxonomy" => Grav\Common\Taxonomy {#279}
"browser" => Grav\Common\Browser {#335}
"base_dir" => "/var/www/html/web/../grav"
"home_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url_absolute" => "https://www.alpine-rrg.com/fr_FR"
"base_url_relative" => "/fr_FR"
"base_url_simple" => "https://www.alpine-rrg.com"
"theme_dir" => "/var/www/html/web/../grav/user/themes/custom"
"theme_url" => "https://www.alpine-rrg.com/user/themes/custom"
"html_lang" => "fr_FR"
"language_codes" => Grav\Common\Language\LanguageCodes {#336}
"form" => null
"form_max_filesize" => 64
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#353}
"page" => Grav\Common\Page\Page {#812}
"header" => {#818}
"media" => Grav\Common\Page\Media {#860}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"urls" => __TwigTemplate_be1bfc5e8357f6a1fad76c4552b64a765e4b49a55c6ff336c695629a4b5d46f2 {#1637}
"time" => __TwigTemplate_114c6a6360f4db1456a82392c53103e1f36886ee56edccad66f9bf18171572f1 {#2228}
"dealer" => null
]
array:10 [
"metadata" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_metadata"
]
"title" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_title"
]
"stylesheets" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_stylesheets"
]
"gtmInit" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_gtmInit"
]
"body" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_body"
]
"header" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_header"
]
"breadcrumb" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_breadcrumb"
]
"content" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_content"
]
"footer" => array:2 [
0 => __TwigTemplate_7c52dc6f7302585a11a461649b3d705c8cf052a1260f2b0413250df7b7c07d63 {#1273}
1 => "block_footer"
]
"javascripts" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_javascripts"
]
]
/var/www/html/vendor/twig/twig/src/Environment.php
} else {
$source = $loader->getSourceContext($name);
}
$content = $this->compileSource($source);
if ($this->bcWriteCacheFile) {
$this->writeCacheFile($key, $content);
} else {
$this->cache->write($key, $content);
$this->cache->load($key);
}
if (!class_exists($mainCls, false)) {
/* Last line of defense if either $this->bcWriteCacheFile was used,
* $this->cache is implemented as a no-op or we have a race condition
* where the cache was cleared between the above calls to write to and load from
* the cache.
*/
eval('?>'.$content);
}
}
if (!class_exists($cls, false)) {
throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
}
}
if (!$this->runtimeInitialized) {
$this->initRuntime();
}
return $this->loadedTemplates[$cls] = new $cls($this);
}
/**
* Creates a template from source.
*
* This method should not be used as a generic way to load templates.
*
Arguments
array:30 [
"config" => Grav\Common\Config\Config {#92}
"system" => array:31 [
"absolute_urls" => true
"timezone" => "Europe/Paris"
"default_locale" => "fr"
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => true
"force_lowercase_urls" => true
"custom_base_url" => "https://www.alpine-rrg.com"
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => array:6 [
0 => "fr_FR"
1 => "de_CH"
2 => "de_DE"
3 => "en_GB"
4 => "es_ES"
5 => "fr_CH"
]
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => false
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => true
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "custom"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "301"
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"enabled" => true
"check" => array:1 [
"method" => "hash"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => true
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => false
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:16 [
"css_pipeline" => true
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => true
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => true
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => "1"
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 67108864
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => true
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
"google_map" => array:1 [
"api_key" => "AIzaSyAxKzQvfL0X2fsFm0xmbE0aL006PSRawzc"
]
]
"theme" => array:2 [
"enabled" => true
"dropdown" => array:1 [
"enabled" => false
]
]
"site" => array:9 [
"title" => "Alpine Retail Renault Group"
"default_lang" => "fr_FR"
"author" => array:2 [
"name" => "Alpine Renault Retail Group"
"email" => "contact@renault-retail-group.fr"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:3 [
"viewport" => "width=device-width, initial-scale=1, maximum-scale=5"
"HandheldFriendly" => "true"
"twitter:card" => "summary_large_image"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#142}
"assets" => Grav\Common\Assets {#251}
"taxonomy" => Grav\Common\Taxonomy {#279}
"browser" => Grav\Common\Browser {#335}
"base_dir" => "/var/www/html/web/../grav"
"home_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url_absolute" => "https://www.alpine-rrg.com/fr_FR"
"base_url_relative" => "/fr_FR"
"base_url_simple" => "https://www.alpine-rrg.com"
"theme_dir" => "/var/www/html/web/../grav/user/themes/custom"
"theme_url" => "https://www.alpine-rrg.com/user/themes/custom"
"html_lang" => "fr_FR"
"language_codes" => Grav\Common\Language\LanguageCodes {#336}
"form" => null
"form_max_filesize" => 64
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#353}
"page" => Grav\Common\Page\Page {#812}
"header" => {#818}
"media" => Grav\Common\Page\Media {#860}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"urls" => __TwigTemplate_be1bfc5e8357f6a1fad76c4552b64a765e4b49a55c6ff336c695629a4b5d46f2 {#1637}
"time" => __TwigTemplate_114c6a6360f4db1456a82392c53103e1f36886ee56edccad66f9bf18171572f1 {#2228}
"dealer" => null
]
array:5 [
"stylesheets" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_stylesheets"
]
"gtmInit" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_gtmInit"
]
"metadata" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_metadata"
]
"content" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_content"
]
"javascripts" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_javascripts"
]
]
/var/www/html/vendor/twig/twig/src/Template.php
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
}
return ob_get_clean();
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
// this is mostly useful for \Twig\Error\LoaderError exceptions
// see \Twig\Error\LoaderError
if (-1 === $e->getTemplateLine()) {
$e->guess();
}
throw $e;
} catch (\Exception $e) {
$e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
$e->guess();
throw $e;
}
}
Arguments
array:30 [
"config" => Grav\Common\Config\Config {#92}
"system" => array:31 [
"absolute_urls" => true
"timezone" => "Europe/Paris"
"default_locale" => "fr"
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => true
"force_lowercase_urls" => true
"custom_base_url" => "https://www.alpine-rrg.com"
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => array:6 [
0 => "fr_FR"
1 => "de_CH"
2 => "de_DE"
3 => "en_GB"
4 => "es_ES"
5 => "fr_CH"
]
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => false
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => true
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "custom"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "301"
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"enabled" => true
"check" => array:1 [
"method" => "hash"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => true
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => false
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:16 [
"css_pipeline" => true
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => true
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => true
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => "1"
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 67108864
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => true
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
"google_map" => array:1 [
"api_key" => "AIzaSyAxKzQvfL0X2fsFm0xmbE0aL006PSRawzc"
]
]
"theme" => array:2 [
"enabled" => true
"dropdown" => array:1 [
"enabled" => false
]
]
"site" => array:9 [
"title" => "Alpine Retail Renault Group"
"default_lang" => "fr_FR"
"author" => array:2 [
"name" => "Alpine Renault Retail Group"
"email" => "contact@renault-retail-group.fr"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:3 [
"viewport" => "width=device-width, initial-scale=1, maximum-scale=5"
"HandheldFriendly" => "true"
"twitter:card" => "summary_large_image"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#142}
"assets" => Grav\Common\Assets {#251}
"taxonomy" => Grav\Common\Taxonomy {#279}
"browser" => Grav\Common\Browser {#335}
"base_dir" => "/var/www/html/web/../grav"
"home_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url_absolute" => "https://www.alpine-rrg.com/fr_FR"
"base_url_relative" => "/fr_FR"
"base_url_simple" => "https://www.alpine-rrg.com"
"theme_dir" => "/var/www/html/web/../grav/user/themes/custom"
"theme_url" => "https://www.alpine-rrg.com/user/themes/custom"
"html_lang" => "fr_FR"
"language_codes" => Grav\Common\Language\LanguageCodes {#336}
"form" => null
"form_max_filesize" => 64
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#353}
"page" => Grav\Common\Page\Page {#812}
"header" => {#818}
"media" => Grav\Common\Page\Media {#860}
"content" => ""
"grav" => Grav\Common\Grav {#2}
"urls" => __TwigTemplate_be1bfc5e8357f6a1fad76c4552b64a765e4b49a55c6ff336c695629a4b5d46f2 {#1637}
"time" => __TwigTemplate_114c6a6360f4db1456a82392c53103e1f36886ee56edccad66f9bf18171572f1 {#2228}
"dealer" => null
]
array:5 [
"stylesheets" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_stylesheets"
]
"gtmInit" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_gtmInit"
]
"metadata" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_metadata"
]
"content" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_content"
]
"javascripts" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_javascripts"
]
]
/var/www/html/vendor/twig/twig/src/Template.php
{
return $this;
}
/**
* Returns all blocks.
*
* This method is for internal use only and should never be called
* directly.
*
* @return array An array of blocks
*/
public function getBlocks()
{
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
if ($this->env->isDebug()) {
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Exception $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
Arguments
array:27 [
"config" => Grav\Common\Config\Config {#92}
"system" => array:31 [
"absolute_urls" => true
"timezone" => "Europe/Paris"
"default_locale" => "fr"
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => true
"force_lowercase_urls" => true
"custom_base_url" => "https://www.alpine-rrg.com"
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => array:6 [
0 => "fr_FR"
1 => "de_CH"
2 => "de_DE"
3 => "en_GB"
4 => "es_ES"
5 => "fr_CH"
]
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => false
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => true
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "custom"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "301"
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"enabled" => true
"check" => array:1 [
"method" => "hash"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => true
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => false
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:16 [
"css_pipeline" => true
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => true
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => true
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => "1"
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 67108864
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => true
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
"google_map" => array:1 [
"api_key" => "AIzaSyAxKzQvfL0X2fsFm0xmbE0aL006PSRawzc"
]
]
"theme" => array:2 [
"enabled" => true
"dropdown" => array:1 [
"enabled" => false
]
]
"site" => array:9 [
"title" => "Alpine Retail Renault Group"
"default_lang" => "fr_FR"
"author" => array:2 [
"name" => "Alpine Renault Retail Group"
"email" => "contact@renault-retail-group.fr"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:3 [
"viewport" => "width=device-width, initial-scale=1, maximum-scale=5"
"HandheldFriendly" => "true"
"twitter:card" => "summary_large_image"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#142}
"assets" => Grav\Common\Assets {#251}
"taxonomy" => Grav\Common\Taxonomy {#279}
"browser" => Grav\Common\Browser {#335}
"base_dir" => "/var/www/html/web/../grav"
"home_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url_absolute" => "https://www.alpine-rrg.com/fr_FR"
"base_url_relative" => "/fr_FR"
"base_url_simple" => "https://www.alpine-rrg.com"
"theme_dir" => "/var/www/html/web/../grav/user/themes/custom"
"theme_url" => "https://www.alpine-rrg.com/user/themes/custom"
"html_lang" => "fr_FR"
"language_codes" => Grav\Common\Language\LanguageCodes {#336}
"form" => null
"form_max_filesize" => 64
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#353}
"page" => Grav\Common\Page\Page {#812}
"header" => {#818}
"media" => Grav\Common\Page\Media {#860}
"content" => ""
"grav" => Grav\Common\Grav {#2}
]
array:5 [
"stylesheets" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_stylesheets"
]
"gtmInit" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_gtmInit"
]
"metadata" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_metadata"
]
"content" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_content"
]
"javascripts" => array:2 [
0 => __TwigTemplate_6d3551127bbfd3bf5dfdf9c1ddf0f05cd3dcf3f077abd263b668e0e643799658 {#1737}
1 => "block_javascripts"
]
]
/var/www/html/vendor/twig/twig/src/Template.php
public function getBlocks()
{
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
if ($this->env->isDebug()) {
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Exception $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
}
return ob_get_clean();
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
Arguments
array:26 [
"config" => Grav\Common\Config\Config {#92}
"system" => array:31 [
"absolute_urls" => true
"timezone" => "Europe/Paris"
"default_locale" => "fr"
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => true
"force_lowercase_urls" => true
"custom_base_url" => "https://www.alpine-rrg.com"
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => array:6 [
0 => "fr_FR"
1 => "de_CH"
2 => "de_DE"
3 => "en_GB"
4 => "es_ES"
5 => "fr_CH"
]
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => false
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => true
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "custom"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "301"
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"enabled" => true
"check" => array:1 [
"method" => "hash"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => true
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => false
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:16 [
"css_pipeline" => true
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => true
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => true
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => "1"
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 67108864
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => true
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
"google_map" => array:1 [
"api_key" => "AIzaSyAxKzQvfL0X2fsFm0xmbE0aL006PSRawzc"
]
]
"theme" => array:2 [
"enabled" => true
"dropdown" => array:1 [
"enabled" => false
]
]
"site" => array:9 [
"title" => "Alpine Retail Renault Group"
"default_lang" => "fr_FR"
"author" => array:2 [
"name" => "Alpine Renault Retail Group"
"email" => "contact@renault-retail-group.fr"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:3 [
"viewport" => "width=device-width, initial-scale=1, maximum-scale=5"
"HandheldFriendly" => "true"
"twitter:card" => "summary_large_image"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#142}
"assets" => Grav\Common\Assets {#251}
"taxonomy" => Grav\Common\Taxonomy {#279}
"browser" => Grav\Common\Browser {#335}
"base_dir" => "/var/www/html/web/../grav"
"home_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url_absolute" => "https://www.alpine-rrg.com/fr_FR"
"base_url_relative" => "/fr_FR"
"base_url_simple" => "https://www.alpine-rrg.com"
"theme_dir" => "/var/www/html/web/../grav/user/themes/custom"
"theme_url" => "https://www.alpine-rrg.com/user/themes/custom"
"html_lang" => "fr_FR"
"language_codes" => Grav\Common\Language\LanguageCodes {#336}
"form" => null
"form_max_filesize" => 64
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#353}
"page" => Grav\Common\Page\Page {#812}
"header" => {#818}
"media" => Grav\Common\Page\Media {#860}
"content" => ""
]
/var/www/html/vendor/twig/twig/src/TemplateWrapper.php
* @internal
*/
public function __construct(Environment $env, Template $template)
{
$this->env = $env;
$this->template = $template;
}
/**
* Renders the template.
*
* @param array $context An array of parameters to pass to the template
*
* @return string The rendered template
*/
public function render($context = [])
{
// using func_get_args() allows to not expose the blocks argument
// as it should only be used by internal code
return $this->template->render($context, \func_num_args() > 1 ? func_get_arg(1) : []);
}
/**
* Displays the template.
*
* @param array $context An array of parameters to pass to the template
*/
public function display($context = [])
{
// using func_get_args() allows to not expose the blocks argument
// as it should only be used by internal code
$this->template->display($context, \func_num_args() > 1 ? func_get_arg(1) : []);
}
/**
* Checks if a block is defined.
*
* @param string $name The block name
* @param array $context An array of parameters to pass to the template
*
Arguments
array:26 [
"config" => Grav\Common\Config\Config {#92}
"system" => array:31 [
"absolute_urls" => true
"timezone" => "Europe/Paris"
"default_locale" => "fr"
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => true
"force_lowercase_urls" => true
"custom_base_url" => "https://www.alpine-rrg.com"
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => array:6 [
0 => "fr_FR"
1 => "de_CH"
2 => "de_DE"
3 => "en_GB"
4 => "es_ES"
5 => "fr_CH"
]
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => false
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => true
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "custom"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "301"
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"enabled" => true
"check" => array:1 [
"method" => "hash"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => true
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => false
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:16 [
"css_pipeline" => true
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => true
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => true
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => "1"
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 67108864
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => true
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
"google_map" => array:1 [
"api_key" => "AIzaSyAxKzQvfL0X2fsFm0xmbE0aL006PSRawzc"
]
]
"theme" => array:2 [
"enabled" => true
"dropdown" => array:1 [
"enabled" => false
]
]
"site" => array:9 [
"title" => "Alpine Retail Renault Group"
"default_lang" => "fr_FR"
"author" => array:2 [
"name" => "Alpine Renault Retail Group"
"email" => "contact@renault-retail-group.fr"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:3 [
"viewport" => "width=device-width, initial-scale=1, maximum-scale=5"
"HandheldFriendly" => "true"
"twitter:card" => "summary_large_image"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#142}
"assets" => Grav\Common\Assets {#251}
"taxonomy" => Grav\Common\Taxonomy {#279}
"browser" => Grav\Common\Browser {#335}
"base_dir" => "/var/www/html/web/../grav"
"home_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url_absolute" => "https://www.alpine-rrg.com/fr_FR"
"base_url_relative" => "/fr_FR"
"base_url_simple" => "https://www.alpine-rrg.com"
"theme_dir" => "/var/www/html/web/../grav/user/themes/custom"
"theme_url" => "https://www.alpine-rrg.com/user/themes/custom"
"html_lang" => "fr_FR"
"language_codes" => Grav\Common\Language\LanguageCodes {#336}
"form" => null
"form_max_filesize" => 64
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#353}
"page" => Grav\Common\Page\Page {#812}
"header" => {#818}
"media" => Grav\Common\Page\Media {#860}
"content" => ""
]
[]
/var/www/html/vendor/twig/twig/src/Environment.php
@trigger_error(sprintf('The %s method is deprecated since version 1.22 and will be removed in Twig 2.0.', __METHOD__), \E_USER_DEPRECATED);
return $this->templateClassPrefix;
}
/**
* Renders a template.
*
* @param string|TemplateWrapper $name The template name
* @param array $context An array of parameters to pass to the template
*
* @return string The rendered template
*
* @throws LoaderError When the template cannot be found
* @throws SyntaxError When an error occurred during compilation
* @throws RuntimeError When an error occurred during rendering
*/
public function render($name, array $context = [])
{
return $this->load($name)->render($context);
}
/**
* Displays a template.
*
* @param string|TemplateWrapper $name The template name
* @param array $context An array of parameters to pass to the template
*
* @throws LoaderError When the template cannot be found
* @throws SyntaxError When an error occurred during compilation
* @throws RuntimeError When an error occurred during rendering
*/
public function display($name, array $context = [])
{
$this->load($name)->display($context);
}
/**
* Loads a template.
*
Arguments
array:26 [
"config" => Grav\Common\Config\Config {#92}
"system" => array:31 [
"absolute_urls" => true
"timezone" => "Europe/Paris"
"default_locale" => "fr"
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => true
"force_lowercase_urls" => true
"custom_base_url" => "https://www.alpine-rrg.com"
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => array:6 [
0 => "fr_FR"
1 => "de_CH"
2 => "de_DE"
3 => "en_GB"
4 => "es_ES"
5 => "fr_CH"
]
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => false
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => true
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "custom"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "301"
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"enabled" => true
"check" => array:1 [
"method" => "hash"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => true
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => false
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:16 [
"css_pipeline" => true
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => true
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => true
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => "1"
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 67108864
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => true
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
"google_map" => array:1 [
"api_key" => "AIzaSyAxKzQvfL0X2fsFm0xmbE0aL006PSRawzc"
]
]
"theme" => array:2 [
"enabled" => true
"dropdown" => array:1 [
"enabled" => false
]
]
"site" => array:9 [
"title" => "Alpine Retail Renault Group"
"default_lang" => "fr_FR"
"author" => array:2 [
"name" => "Alpine Renault Retail Group"
"email" => "contact@renault-retail-group.fr"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:3 [
"viewport" => "width=device-width, initial-scale=1, maximum-scale=5"
"HandheldFriendly" => "true"
"twitter:card" => "summary_large_image"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#142}
"assets" => Grav\Common\Assets {#251}
"taxonomy" => Grav\Common\Taxonomy {#279}
"browser" => Grav\Common\Browser {#335}
"base_dir" => "/var/www/html/web/../grav"
"home_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url_absolute" => "https://www.alpine-rrg.com/fr_FR"
"base_url_relative" => "/fr_FR"
"base_url_simple" => "https://www.alpine-rrg.com"
"theme_dir" => "/var/www/html/web/../grav/user/themes/custom"
"theme_url" => "https://www.alpine-rrg.com/user/themes/custom"
"html_lang" => "fr_FR"
"language_codes" => Grav\Common\Language\LanguageCodes {#336}
"form" => null
"form_max_filesize" => 64
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#353}
"page" => Grav\Common\Page\Page {#812}
"header" => {#818}
"media" => Grav\Common\Page\Media {#860}
"content" => ""
]
/var/www/html/grav/system/src/Grav/Common/Twig/Twig.php
$twig_vars = $this->twig_vars;
$twig_vars['theme'] = $grav['config']->get('theme');
$twig_vars['pages'] = $pages->root();
$twig_vars['page'] = $page;
$twig_vars['header'] = $page->header();
$twig_vars['media'] = $page->media();
$twig_vars['content'] = $page->content();
// determine if params are set, if so disable twig cache
$params = $grav['uri']->params(null, true);
if (!empty($params)) {
$this->twig->setCache(false);
}
// Get Twig template layout
$template = $this->getPageTwigTemplate($page, $format);
$page->templateFormat($format);
$output = $this->twig->render($template, $vars + $twig_vars);
} catch (LoaderError $e) {
throw new RuntimeException($e->getMessage(), 400, $e);
} catch (RuntimeError $e) {
$prev = $e->getPrevious();
if ($prev instanceof TwigException) {
$code = $prev->getCode() ?: 500;
// Fire onPageNotFound event.
$event = new Event([
'page' => $page,
'code' => $code,
'message' => $prev->getMessage(),
'exception' => $prev,
'route' => $grav['route'],
'request' => $grav['request']
]);
$event = $grav->fireEvent("onDisplayErrorPage.{$code}", $event);
$newPage = $event['page'];
if ($newPage && $newPage !== $page) {
unset($grav['page']);
$grav['page'] = $newPage;
Arguments
".studio.html.twig"
array:26 [
"config" => Grav\Common\Config\Config {#92}
"system" => array:31 [
"absolute_urls" => true
"timezone" => "Europe/Paris"
"default_locale" => "fr"
"param_sep" => ":"
"wrapped_site" => false
"reverse_proxy_setup" => false
"force_ssl" => true
"force_lowercase_urls" => true
"custom_base_url" => "https://www.alpine-rrg.com"
"username_regex" => "^[a-z0-9_-]{3,16}$"
"pwd_regex" => "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
"intl_enabled" => true
"http_x_forwarded" => array:4 [
"protocol" => true
"host" => false
"port" => true
"ip" => true
]
"languages" => array:12 [
"supported" => array:6 [
0 => "fr_FR"
1 => "de_CH"
2 => "de_DE"
3 => "en_GB"
4 => "es_ES"
5 => "fr_CH"
]
"default_lang" => null
"include_default_lang" => true
"include_default_lang_file_extension" => true
"translations" => true
"translations_fallback" => false
"session_store_active" => false
"http_accept_language" => false
"override_locale" => false
"content_fallback" => []
"pages_fallback_only" => false
"debug" => false
]
"home" => array:2 [
"alias" => "/home"
"hide_in_urls" => true
]
"pages" => array:28 [
"type" => "regular"
"dirs" => array:1 [
0 => "page://"
]
"theme" => "custom"
"order" => array:2 [
"by" => "default"
"dir" => "asc"
]
"list" => array:1 [
"count" => 20
]
"dateformat" => array:3 [
"default" => null
"short" => "jS M Y"
"long" => "F jS \a\t g:ia"
]
"publish_dates" => true
"process" => array:2 [
"markdown" => true
"twig" => false
]
"twig_first" => false
"never_cache_twig" => false
"events" => array:2 [
"page" => true
"twig" => true
]
"markdown" => array:6 [
"extra" => false
"auto_line_breaks" => false
"auto_url_links" => false
"escape_markup" => false
"special_chars" => array:2 [
">" => "gt"
"<" => "lt"
]
"valid_link_attributes" => array:5 [
0 => "rel"
1 => "target"
2 => "id"
3 => "class"
4 => "classes"
]
]
"types" => array:7 [
0 => "txt"
1 => "xml"
2 => "html"
3 => "htm"
4 => "json"
5 => "rss"
6 => "atom"
]
"append_url_extension" => ""
"expires" => 604800
"cache_control" => null
"last_modified" => false
"etag" => false
"vary_accept_encoding" => false
"redirect_default_code" => "301"
"redirect_trailing_slash" => true
"redirect_default_route" => false
"ignore_files" => array:1 [
0 => ".DS_Store"
]
"ignore_folders" => array:2 [
0 => ".git"
1 => ".idea"
]
"ignore_hidden" => true
"hide_empty_folders" => false
"url_taxonomy_filters" => true
"frontmatter" => array:2 [
"process_twig" => false
"ignore_fields" => array:2 [
0 => "form"
1 => "forms"
]
]
]
"cache" => array:13 [
"enabled" => true
"check" => array:1 [
"method" => "hash"
]
"driver" => "auto"
"prefix" => "g"
"purge_at" => "0 4 * * *"
"clear_at" => "0 3 * * *"
"clear_job_type" => "standard"
"clear_images_by_default" => false
"cli_compatibility" => false
"lifetime" => 604800
"gzip" => true
"allow_webserver_gzip" => true
"redis" => array:3 [
"socket" => false
"password" => null
"database" => null
]
]
"twig" => array:9 [
"cache" => false
"debug" => true
"auto_reload" => true
"autoescape" => false
"undefined_functions" => true
"undefined_filters" => true
"safe_functions" => []
"safe_filters" => []
"umask_fix" => false
]
"assets" => array:16 [
"css_pipeline" => true
"css_pipeline_include_externals" => true
"css_pipeline_before_excludes" => true
"css_minify" => true
"css_minify_windows" => false
"css_rewrite" => true
"js_pipeline" => true
"js_pipeline_include_externals" => true
"js_pipeline_before_excludes" => true
"js_module_pipeline" => false
"js_module_pipeline_include_externals" => true
"js_module_pipeline_before_excludes" => true
"js_minify" => true
"enable_asset_timestamp" => true
"enable_asset_sri" => false
"collections" => array:1 [
"jquery" => "system://assets/jquery/jquery-2.x.min.js"
]
]
"errors" => array:2 [
"display" => "1"
"log" => true
]
"log" => array:2 [
"handler" => "file"
"syslog" => array:2 [
"facility" => "local6"
"tag" => "grav"
]
]
"debugger" => array:5 [
"enabled" => false
"provider" => "clockwork"
"censored" => false
"shutdown" => array:1 [
"close_connection" => true
]
"twig" => true
]
"images" => array:9 [
"default_image_quality" => 85
"cache_all" => false
"cache_perms" => "0755"
"debug" => false
"auto_fix_orientation" => false
"seofriendly" => false
"cls" => array:3 [
"auto_sizes" => false
"aspect_ratio" => false
"retina_scale" => 1
]
"defaults" => array:1 [
"loading" => "auto"
]
"watermark" => array:5 [
"image" => "system://images/watermark.png"
"position_y" => "center"
"position_x" => "center"
"scale" => 33
"watermark_all" => false
]
]
"media" => array:5 [
"enable_media_timestamp" => false
"unsupported_inline_types" => []
"allowed_fallback_types" => []
"auto_metadata_exif" => false
"upload_limit" => 67108864
]
"session" => array:12 [
"enabled" => true
"initialize" => true
"timeout" => 1800
"name" => "grav-site"
"uniqueness" => "path"
"secure" => true
"secure_https" => true
"httponly" => true
"samesite" => "Lax"
"split" => true
"domain" => null
"path" => null
]
"gpm" => array:4 [
"releases" => "stable"
"official_gpm_only" => true
"method" => "auto"
"verify_peer" => true
]
"http" => array:7 [
"method" => "auto"
"enable_proxy" => true
"proxy_url" => null
"proxy_cert_path" => null
"concurrent_connections" => 5
"verify_peer" => true
"verify_host" => true
]
"accounts" => array:3 [
"type" => "regular"
"storage" => "file"
"avatar" => "gravatar"
]
"flex" => array:1 [
"cache" => array:3 [
"index" => array:2 [
"enabled" => true
"lifetime" => 60
]
"object" => array:2 [
"enabled" => true
"lifetime" => 600
]
"render" => array:2 [
"enabled" => true
"lifetime" => 600
]
]
]
"strict_mode" => array:3 [
"yaml_compat" => true
"twig_compat" => true
"blueprint_compat" => true
]
"google_map" => array:1 [
"api_key" => "AIzaSyAxKzQvfL0X2fsFm0xmbE0aL006PSRawzc"
]
]
"theme" => array:2 [
"enabled" => true
"dropdown" => array:1 [
"enabled" => false
]
]
"site" => array:9 [
"title" => "Alpine Retail Renault Group"
"default_lang" => "fr_FR"
"author" => array:2 [
"name" => "Alpine Renault Retail Group"
"email" => "contact@renault-retail-group.fr"
]
"taxonomies" => array:2 [
0 => "category"
1 => "tag"
]
"metadata" => array:3 [
"viewport" => "width=device-width, initial-scale=1, maximum-scale=5"
"HandheldFriendly" => "true"
"twitter:card" => "summary_large_image"
]
"summary" => array:4 [
"enabled" => true
"format" => "short"
"size" => 300
"delimiter" => "==="
]
"redirects" => null
"routes" => null
"blog" => array:1 [
"route" => "/blog"
]
]
"uri" => Grav\Common\Uri {#142}
"assets" => Grav\Common\Assets {#251}
"taxonomy" => Grav\Common\Taxonomy {#279}
"browser" => Grav\Common\Browser {#335}
"base_dir" => "/var/www/html/web/../grav"
"home_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url" => "https://www.alpine-rrg.com/fr_FR"
"base_url_absolute" => "https://www.alpine-rrg.com/fr_FR"
"base_url_relative" => "/fr_FR"
"base_url_simple" => "https://www.alpine-rrg.com"
"theme_dir" => "/var/www/html/web/../grav/user/themes/custom"
"theme_url" => "https://www.alpine-rrg.com/user/themes/custom"
"html_lang" => "fr_FR"
"language_codes" => Grav\Common\Language\LanguageCodes {#336}
"form" => null
"form_max_filesize" => 64
"form_json_response" => []
"pages" => Grav\Common\Page\Page {#353}
"page" => Grav\Common\Page\Page {#812}
"header" => {#818}
"media" => Grav\Common\Page\Media {#860}
"content" => ""
]
/var/www/html/grav/system/src/Grav/Common/Service/OutputServiceProvider.php
/**
* Class OutputServiceProvider
* @package Grav\Common\Service
*/
class OutputServiceProvider implements ServiceProviderInterface
{
/**
* @param Container $container
* @return void
*/
public function register(Container $container)
{
$container['output'] = function ($c) {
/** @var Twig $twig */
$twig = $c['twig'];
/** @var PageInterface $page */
$page = $c['page'];
return $twig->processSite($page->templateFormat());
};
}
}
Arguments
/var/www/html/vendor/pimple/pimple/src/Pimple/Container.php
{
if (!isset($this->keys[$id])) {
throw new UnknownIdentifierException($id);
}
if (
isset($this->raw[$id])
|| !\is_object($this->values[$id])
|| isset($this->protected[$this->values[$id]])
|| !\method_exists($this->values[$id], '__invoke')
) {
return $this->values[$id];
}
if (isset($this->factories[$this->values[$id]])) {
return $this->values[$id]($this);
}
$raw = $this->values[$id];
$val = $this->values[$id] = $raw($this);
$this->raw[$id] = $raw;
$this->frozen[$id] = true;
return $val;
}
/**
* Checks if a parameter or an object is set.
*
* @param string $id The unique identifier for the parameter or object
*
* @return bool
*/
#[\ReturnTypeWillChange]
public function offsetExists($id)
{
return isset($this->keys[$id]);
}
Arguments
/var/www/html/grav/system/src/Grav/Common/Processors/RenderProcessor.php
* @package Grav\Common\Processors
*/
class RenderProcessor extends ProcessorBase
{
/** @var string */
public $id = 'render';
/** @var string */
public $title = 'Render';
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$this->startTimer();
$container = $this->container;
$output = $container['output'];
if ($output instanceof ResponseInterface) {
return $output;
}
/** @var PageInterface $page */
$page = $this->container['page'];
// Use internal Grav output.
$container->output = $output;
ob_start();
$event = new Event(['page' => $page, 'output' => &$container->output]);
$container->fireEvent('onOutputGenerated', $event);
echo $container->output;
$html = ob_get_clean();
Arguments
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
Grav\Framework\RequestHandler\RequestHandler {#852}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
/var/www/html/grav/system/src/Grav/Common/Processors/DebuggerAssetsProcessor.php
*/
class DebuggerAssetsProcessor extends ProcessorBase
{
/** @var string */
public $id = 'debugger_assets';
/** @var string */
public $title = 'Debugger Assets';
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$this->startTimer();
$this->container['debugger']->addAssets();
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
Grav\Framework\RequestHandler\RequestHandler {#846}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
/var/www/html/grav/system/src/Grav/Common/Processors/PagesProcessor.php
/** @var Forms $forms */
$forms = $this->container['forms'] ?? null;
$form = $forms ? $forms->getActiveForm() : null;
$options = ['page' => $page, 'form' => $form, 'request' => $request];
if ($task) {
$event = new Event(['task' => $task] + $options);
$this->container->fireEvent('onPageTask', $event);
$this->container->fireEvent('onPageTask.' . $task, $event);
} elseif ($action) {
$event = new Event(['action' => $action] + $options);
$this->container->fireEvent('onPageAction', $event);
$this->container->fireEvent('onPageAction.' . $action, $event);
}
}
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
Grav\Framework\RequestHandler\RequestHandler {#338}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
/var/www/html/grav/system/src/Grav/Common/Processors/TwigProcessor.php
*/
class TwigProcessor extends ProcessorBase
{
/** @var string */
public $id = 'twig';
/** @var string */
public $title = 'Twig';
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$this->startTimer();
$this->container['twig']->init();
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
Grav\Framework\RequestHandler\RequestHandler {#253}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
/var/www/html/grav/system/src/Grav/Common/Processors/AssetsProcessor.php
class AssetsProcessor extends ProcessorBase
{
/** @var string */
public $id = '_assets';
/** @var string */
public $title = 'Assets';
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$this->startTimer();
$this->container['assets']->init();
$this->container->fireEvent('onAssetsInitialized');
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
Grav\Framework\RequestHandler\RequestHandler {#250}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
/var/www/html/grav/system/src/Grav/Common/Processors/SchedulerProcessor.php
class SchedulerProcessor extends ProcessorBase
{
/** @var string */
public $id = '_scheduler';
/** @var string */
public $title = 'Scheduler';
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$this->startTimer();
$scheduler = $this->container['scheduler'];
$this->container->fireEvent('onSchedulerInitialized', new Event(['scheduler' => $scheduler]));
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
Grav\Framework\RequestHandler\RequestHandler {#217}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
/var/www/html/grav/system/src/Grav/Common/Processors/BackupsProcessor.php
class BackupsProcessor extends ProcessorBase
{
/** @var string */
public $id = '_backups';
/** @var string */
public $title = 'Backups';
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$this->startTimer();
$backups = $this->container['backups'];
$backups->init();
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
Grav\Framework\RequestHandler\RequestHandler {#214}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
/var/www/html/grav/system/src/Grav/Common/Processors/TasksProcessor.php
$response = $handler->handle($request);
}
$this->stopTimer();
return $response;
} catch (NotFoundException $e) {
// Task not found: Let it pass through.
}
}
if ($task) {
$this->container->fireEvent('onTask.' . $task);
} elseif ($action) {
$this->container->fireEvent('onAction.' . $action);
}
}
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
Grav\Framework\RequestHandler\RequestHandler {#190}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
/var/www/html/grav/system/src/Grav/Common/Processors/RequestProcessor.php
$uri = $request->getUri();
$ext = mb_strtolower(Utils::pathinfo($uri->getPath(), PATHINFO_EXTENSION));
$request = $request
->withAttribute('grav', $this->container)
->withAttribute('time', $_SERVER['REQUEST_TIME_FLOAT'] ?? GRAV_REQUEST_TIME)
->withAttribute('route', Uri::getCurrentRoute()->withExtension($ext))
->withAttribute('referrer', $this->container['uri']->referrer());
$event = new RequestHandlerEvent(['request' => $request, 'handler' => $handler]);
/** @var RequestHandlerEvent $event */
$event = $this->container->fireEvent('onRequestHandlerInit', $event);
$response = $event->getResponse();
$this->stopTimer();
if ($response) {
return $response;
}
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#203}
Grav\Framework\RequestHandler\RequestHandler {#205}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#65}
/var/www/html/grav/system/src/Grav/Common/Processors/ThemesProcessor.php
*/
class ThemesProcessor extends ProcessorBase
{
/** @var string */
public $id = 'themes';
/** @var string */
public $title = 'Themes';
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$this->startTimer();
$this->container['themes']->init();
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#65}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#65}
Grav\Framework\RequestHandler\RequestHandler {#182}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#65}
/var/www/html/grav/system/src/Grav/Common/Processors/PluginsProcessor.php
class PluginsProcessor extends ProcessorBase
{
/** @var string */
public $id = 'plugins';
/** @var string */
public $title = 'Initialize Plugins';
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$this->startTimer();
$grav = $this->container;
$grav->fireEvent('onPluginsInitialized');
$this->stopTimer();
return $handler->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#65}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#65}
Grav\Framework\RequestHandler\RequestHandler {#148}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#65}
/var/www/html/grav/system/src/Grav/Common/Processors/InitializeProcessor.php
// Initialize URI (uses session, see issue #3269).
$this->initializeUri($config);
// Grav may return redirect response right away.
$redirectCode = (int)$config->get('system.pages.redirect_trailing_slash', 1);
if ($redirectCode) {
$response = $this->handleRedirectRequest($request, $redirectCode > 300 ? $redirectCode : null);
if ($response) {
$this->stopTimer('_init');
return $response;
}
}
$this->stopTimer('_init');
// Wrap call to next handler so that debugger can profile it.
/** @var Response $response */
$response = $debugger->profile(static function () use ($handler, $request) {
return $handler->handle($request);
});
// Log both request and response and return the response.
return $debugger->logRequest($request, $response);
}
public function processCli(): void
{
// Load configuration.
$config = $this->initializeConfig();
// Initialize logger.
$this->initializeLogger($config);
// Disable debugger.
$this->container['debugger']->enabled(false);
// Set timezone, locale.
$this->initializeLocale($config);
Arguments
Nyholm\Psr7\ServerRequest {#65}
/var/www/html/grav/system/src/Grav/Common/Debugger.php
}
$this->addMeasures();
$this->addDeprecations();
$this->timers = [];
return $this->debugbar->getData();
}
/**
* Hierarchical Profiler support.
*
* @param callable $callable
* @param string|null $message
* @return mixed
*/
public function profile(callable $callable, string $message = null)
{
$this->startProfiling();
$response = $callable();
$this->stopProfiling($message);
return $response;
}
public function addTwigProfiler(Environment $twig): void
{
$clockwork = $this->getClockwork();
if ($clockwork) {
$source = new TwigClockworkDataSource($twig);
$source->listenToEvents();
$clockwork->addDataSource($source);
}
}
/**
* Start profiling code.
*
* @return void
*/
/var/www/html/grav/system/src/Grav/Common/Processors/InitializeProcessor.php
// Initialize URI (uses session, see issue #3269).
$this->initializeUri($config);
// Grav may return redirect response right away.
$redirectCode = (int)$config->get('system.pages.redirect_trailing_slash', 1);
if ($redirectCode) {
$response = $this->handleRedirectRequest($request, $redirectCode > 300 ? $redirectCode : null);
if ($response) {
$this->stopTimer('_init');
return $response;
}
}
$this->stopTimer('_init');
// Wrap call to next handler so that debugger can profile it.
/** @var Response $response */
$response = $debugger->profile(static function () use ($handler, $request) {
return $handler->handle($request);
});
// Log both request and response and return the response.
return $debugger->logRequest($request, $response);
}
public function processCli(): void
{
// Load configuration.
$config = $this->initializeConfig();
// Initialize logger.
$this->initializeLogger($config);
// Disable debugger.
$this->container['debugger']->enabled(false);
// Set timezone, locale.
$this->initializeLocale($config);
Arguments
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#65}
Grav\Framework\RequestHandler\RequestHandler {#89}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#65}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Middlewares/MultipartRequestSupport.php
use function in_array;
use function is_array;
use function strlen;
/**
* Multipart request support for PUT and PATCH.
*/
class MultipartRequestSupport implements MiddlewareInterface
{
/**
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$contentType = $request->getHeaderLine('content-type');
$method = $request->getMethod();
if (!str_starts_with($contentType, 'multipart/form-data') || !in_array($method, ['PUT', 'PATH'], true)) {
return $handler->handle($request);
}
$boundary = explode('; boundary=', $contentType, 2)[1] ?? '';
$parts = explode("--{$boundary}", $request->getBody()->getContents());
$parts = array_slice($parts, 1, count($parts) - 2);
$params = [];
$files = [];
foreach ($parts as $part) {
$this->processPart($params, $files, $part);
}
return $handler->handle($request->withParsedBody($params)->withUploadedFiles($files));
}
/**
* @param array $params
* @param array $files
* @param string $part
* @return void
Arguments
Nyholm\Psr7\ServerRequest {#65}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
protected $handler;
/** @var ContainerInterface|null */
protected $container;
/**
* {@inheritdoc}
* @throws InvalidArgumentException
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = array_shift($this->middleware);
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#65}
Grav\Framework\RequestHandler\RequestHandler {#87}
/var/www/html/grav/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php
// Use default callable if there is no middleware.
if ($middleware === null) {
return call_user_func($this->handler, $request);
}
if ($middleware instanceof MiddlewareInterface) {
return $middleware->process($request, clone $this);
}
if (null === $this->container || !$this->container->has($middleware)) {
throw new InvalidArgumentException(
sprintf('The middleware is not a valid %s and is not passed in the Container', MiddlewareInterface::class),
$middleware
);
}
array_unshift($this->middleware, $this->container->get($middleware));
return $this->handle($request);
}
}
Arguments
Nyholm\Psr7\ServerRequest {#65}
/var/www/html/grav/system/src/Grav/Common/Grav.php
},
'pagesProcessor' => function () {
return new PagesProcessor($this);
},
'debuggerAssetsProcessor' => function () {
return new DebuggerAssetsProcessor($this);
},
'renderProcessor' => function () {
return new RenderProcessor($this);
},
]
);
$default = static function () {
return new Response(404, ['Expires' => 0, 'Cache-Control' => 'no-store, max-age=0'], 'Not Found');
};
$collection = new RequestHandler($this->middleware, $default, $container);
$response = $collection->handle($this['request']);
$body = $response->getBody();
/** @var Messages $messages */
$messages = $this['messages'];
// Prevent caching if session messages were displayed in the page.
$noCache = $messages->isCleared();
if ($noCache) {
$response = $response->withHeader('Cache-Control', 'no-store, max-age=0');
}
// Handle ETag and If-None-Match headers.
if ($response->getHeaderLine('ETag') === '1') {
$etag = md5($body);
$response = $response->withHeader('ETag', '"' . $etag . '"');
$search = trim($this['request']->getHeaderLine('If-None-Match'), '"');
if ($noCache === false && $search === $etag) {
$response = $response->withStatus(304);
$body = '';
Arguments
Nyholm\Psr7\ServerRequest {#65}
/var/www/html/web/index.php
// Register the auto-loader.
$loader = require $autoload;
// Set timezone to default, falls back to system if php.ini not set
date_default_timezone_set(@date_default_timezone_get());
// Set internal encoding.
@ini_set('default_charset', 'UTF-8');
mb_internal_encoding('UTF-8');
use Grav\Common\Grav;
use RocketTheme\Toolbox\Event\Event;
// Get the Grav instance
$grav = Grav::instance(array('loader' => $loader));
// Process the page
try {
$grav->process();
} catch (\Error|\Exception $e) {
$grav->fireEvent('onFatalException', new Event(array('exception' => $e)));
throw $e;
}