Skip to content

Commit

Permalink
Rollback Twig version. (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolivas authored Sep 29, 2016
1 parent bbec923 commit 98b6d48
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"symfony/translation": "~2.8",
"symfony/yaml": "~2.8",
"symfony/event-dispatcher": "~2.8",
"twig/twig": "^1.23.1"
"twig/twig": "1.23.1"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/Utils/ConfigurationManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ public function loadConfiguration($applicationDirectory)
foreach ($files as $key => $file) {
if (!file_exists($file)) {
unset($files[$key]);
continue;
}
if (file_get_contents($file)==='') {
unset($files[$key]);
continue;
}
}

Expand Down

0 comments on commit 98b6d48

Please sign in to comment.