Skip to content

Commit

Permalink
Merge pull request #68 from kmvan/dev
Browse files Browse the repository at this point in the history
fix config file path error
  • Loading branch information
kmvan authored Feb 2, 2020
2 parents 3329b52 + b570799 commit c8d1886
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions compiler/ConfigGeneration.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ class ConfigGeneration
{
private $phpConfigPath = '';

private $configPath = '';
private $configPath = '';

private $configPathDev = '';

public function __construct(array $args)
Expand All @@ -32,7 +33,7 @@ public function __construct(array $args)

private function copyConfigToTmp(): bool
{
return \copy($this->configPathDev, $this->configPath);
return \copy($this->configPath, $this->configPathDev);
}

private function genPhpConfig(): bool
Expand Down

0 comments on commit c8d1886

Please sign in to comment.