Skip to content

Commit

Permalink
Fixes booting config and migration.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Mar 12, 2019
1 parent f2d889e commit 22167c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"autoload": {
"classmap": [
"resources/database/migrations"
"database/migrations"
],
"psr-4": {
"Orchestra\\Memory\\" : "src/"
Expand Down
2 changes: 1 addition & 1 deletion src/MemoryServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function register()
*/
public function boot()
{
$path = \realpath(__DIR__.'/../resources');
$path = \realpath(__DIR__.'/../');

$this->addConfigComponent('orchestra/memory', 'orchestra/memory', "{$path}/config");

Expand Down

0 comments on commit 22167c7

Please sign in to comment.