blob: 284cdddda95e2a8bd05b25b118ee63427557ef3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# 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);
}
}
|