# Fix the path of res/ --- ./src/SpdxLicenses.php 2015-07-15 19:38:14.000000000 +0200 +++ ./src/SpdxLicenses.php 2016-11-13 19:24:17.659442468 +0100 @@ -170,7 +170,7 @@ private function loadLicenses() { if (null === $this->licenses) { - $jsonFile = file_get_contents(__DIR__ . '/../res/spdx-licenses.json'); + $jsonFile = file_get_contents(__DIR__ . '/res/spdx-licenses.json'); $this->licenses = json_decode($jsonFile, true); } } @@ -178,7 +178,7 @@ private function loadExceptions() { if (null === $this->exceptions) { - $jsonFile = file_get_contents(__DIR__ . '/../res/spdx-exceptions.json'); + $jsonFile = file_get_contents(__DIR__ . '/res/spdx-exceptions.json'); $this->exceptions = json_decode($jsonFile, true); } }