From 73da787f77456977e36d847e0bb57f9131187693 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sat, 19 Dec 2015 00:53:05 +0100 Subject: [PATCH] Compatibility with symfony/yaml 3 --- classes/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Config.php b/classes/Config.php index 8cca186..3e0f75f 100644 --- a/classes/Config.php +++ b/classes/Config.php @@ -38,7 +38,7 @@ Class Config */ private function __construct() { - $yaml = Yaml::parse(__DIR__.'/../config.yml'); + $yaml = Yaml::parse(file_get_contents(__DIR__.'/../config.yml')); if (isset($yaml) && is_array($yaml)) { foreach ($yaml as $param=>$value) { if (isset($this->$param)) {