From 64cb0e866f3c7527da8630ab0b776561ab45e817 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 --- framework/core/src/Asset/LessCompiler.php | 2 +- framework/core/src/Database/MigrationCreator.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'; }