Skip to content

Commit 9f63c61

Browse files
author
Robin de Graaf
committed
Fix parable and InstallCommand
1 parent 686df64 commit 9f63c61

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Parable PHP Framework
22

3+
## 2.0.4
4+
5+
_Changes_
6+
- Fix `parable` command and `InstallCommand`
7+
38
## 2.0.3
49

510
_Changes_

src/Commands/InstallCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ protected function loadAndPopulateTemplate(
290290
string $sourceDir,
291291
string $publicDir
292292
): ?string {
293-
$structurePath = dirname(__DIR__ . DS . '..' . DS . '..' . DS . 'structure');
293+
$structurePath = __DIR__ . DS . '..' . DS . '..' . DS . 'structure';
294294

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

src/parable

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use Parable\Di\Container;
55
use Parable\Framework\ConsoleApplication;
66

7-
require_once dirname(__DIR__ . "/../../../autoload.php");
7+
require_once __DIR__ . "/../../../autoload.php";
88

99
$container = new Container();
1010

0 commit comments

Comments
 (0)