mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 15:03:44 +08:00
minor change for getting the path
* should be used via x_path() methods + parameter
This commit is contained in:
parent
6f75d95e9f
commit
64cb0e866f
|
@ -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') => '',
|
||||
],
|
||||
]);
|
||||
|
||||
|
|
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user