Skip to content

Commit

Permalink
Merge pull request #1251 from tweichart/path_methods
Browse files Browse the repository at this point in the history
minor change for getting the path
  • Loading branch information
tobyzerner authored Oct 4, 2017
2 parents eb72307 + 0237766 commit 43d8a9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Asset/LessCompiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function compile()
'compress' => true,
'cache_dir' => $this->cachePath,
'import_dirs' => [
base_path().'/vendor/components/font-awesome/less' => '',
base_path('vendor/components/font-awesome/less') => '',
],
]);

Expand Down
2 changes: 1 addition & 1 deletion src/Database/MigrationCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ protected function populateStub($stub, $table)
*/
protected function getMigrationPath($extension)
{
$parent = $extension ? public_path().'/extensions/'.$extension : __DIR__.'/../..';
$parent = $extension ? public_path('extensions/'.$extension) : __DIR__.'/../..';

return $parent.'/migrations';
}
Expand Down

0 comments on commit 43d8a9d

Please sign in to comment.