diff --git a/framework/core/src/Asset/LessCompiler.php b/framework/core/src/Asset/LessCompiler.php index 382a1b210..d498b08d9 100644 --- a/framework/core/src/Asset/LessCompiler.php +++ b/framework/core/src/Asset/LessCompiler.php @@ -49,7 +49,7 @@ class LessCompiler extends RevisionCompiler '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/framework/core/src/Database/MigrationCreator.php b/framework/core/src/Database/MigrationCreator.php index b3a912206..53fa22bff 100755 --- a/framework/core/src/Database/MigrationCreator.php +++ b/framework/core/src/Database/MigrationCreator.php @@ -107,7 +107,7 @@ class MigrationCreator */ protected function getMigrationPath($extension) { - $parent = $extension ? public_path().'/extensions/'.$extension : __DIR__.'/../..'; + $parent = $extension ? public_path('extensions/'.$extension) : __DIR__.'/../..'; return $parent.'/migrations'; }