1
0
mirror of https://github.com/flarum/core.git synced 2025-07-29 12:40:40 +02:00

minor change for getting the path

* should be used via x_path() methods + parameter
This commit is contained in:
Tobias Weichart
2017-10-04 08:38:36 +02:00
parent 6f75d95e9f
commit 64cb0e866f
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ class LessCompiler extends RevisionCompiler
'compress' => true, 'compress' => true,
'cache_dir' => $this->cachePath, 'cache_dir' => $this->cachePath,
'import_dirs' => [ 'import_dirs' => [
base_path().'/vendor/components/font-awesome/less' => '', base_path('vendor/components/font-awesome/less') => '',
], ],
]); ]);

View File

@@ -107,7 +107,7 @@ class MigrationCreator
*/ */
protected function getMigrationPath($extension) protected function getMigrationPath($extension)
{ {
$parent = $extension ? public_path().'/extensions/'.$extension : __DIR__.'/../..'; $parent = $extension ? public_path('extensions/'.$extension) : __DIR__.'/../..';
return $parent.'/migrations'; return $parent.'/migrations';
} }