From 02377663cebff5689161eb7c093c465c90aa50e5 Mon Sep 17 00:00:00 2001 From: Tobias Weichart Date: Wed, 4 Oct 2017 08:38:36 +0200 Subject: [PATCH] minor change for getting the path * should be used via x_path() methods + parameter --- src/Asset/LessCompiler.php | 2 +- src/Database/MigrationCreator.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Asset/LessCompiler.php b/src/Asset/LessCompiler.php index 382a1b2101..d498b08d97 100644 --- a/src/Asset/LessCompiler.php +++ b/src/Asset/LessCompiler.php @@ -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') => '', ], ]); diff --git a/src/Database/MigrationCreator.php b/src/Database/MigrationCreator.php index b3a9122060..53fa22bffc 100755 --- a/src/Database/MigrationCreator.php +++ b/src/Database/MigrationCreator.php @@ -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'; }