Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
issue with runtime config fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed Jul 23, 2017
1 parent c9734fa commit 2b6a483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Twig/Twig.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static function viewFactory(ContainerInterface $container, array $config)
private function addGlobals() : void
{
// Runtime Config values
$this->twig->addGlobal('RuntimeConfig', $this->config);
$this->twig->addGlobal('RuntimeConfig', $this->config['runtime']['config']);
// Query Parameters ($_REQUEST)
$this->twig->addGlobal('QueryParameters', $this->config['runtime']['query_parameters']??[]);
// Query Parameters ($_SESSION)
Expand Down

0 comments on commit 2b6a483

Please sign in to comment.