mirror of
https://github.com/flarum/core.git
synced 2025-10-12 07:24:27 +02:00
minor change for getting the path
* should be used via x_path() methods + parameter
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
Reference in New Issue
Block a user