Skip to content

Commit

Permalink
Fix parable and InstallCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin de Graaf committed Sep 30, 2021
1 parent 686df64 commit 9f63c61
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Parable PHP Framework

## 2.0.4

_Changes_
- Fix `parable` command and `InstallCommand`

## 2.0.3

_Changes_
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ protected function loadAndPopulateTemplate(
string $sourceDir,
string $publicDir
): ?string {
$structurePath = dirname(__DIR__ . DS . '..' . DS . '..' . DS . 'structure');
$structurePath = __DIR__ . DS . '..' . DS . '..' . DS . 'structure';

$contents = @file_get_contents($structurePath . DS . $filename . '_template');

Expand Down
2 changes: 1 addition & 1 deletion src/parable
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
use Parable\Di\Container;
use Parable\Framework\ConsoleApplication;

require_once dirname(__DIR__ . "/../../../autoload.php");
require_once __DIR__ . "/../../../autoload.php";

$container = new Container();

Expand Down

0 comments on commit 9f63c61

Please sign in to comment.