We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50fac69 commit d7e4fe8Copy full SHA for d7e4fe8
src/ProjectData/ProjectData.php
@@ -26,7 +26,7 @@ class ProjectData
26
*/
27
public function __construct($projectDataJson)
28
{
29
- $this->CONFIG = include "../Config/Config.php";
+ $this->CONFIG = include dirname(__FILE__) . '/../Config/Config.php';
30
$this->generator = $this->CONFIG['HTTP_DEFAULT_OPTIONS']['headers']['User-Agent'];
31
$this->patchProperties = [];
32
$this->projectDataJson = $this->objectToArray($projectDataJson);
0 commit comments