mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Use aboslute path for the migration archive (#3490)
This commit is contained in:
parent
64eed274e1
commit
648cd73bec
@ -60,7 +60,7 @@ class ImportMigrations extends Command
|
||||
foreach ($directory as $file) {
|
||||
if ($file->getExtension() === 'zip') {
|
||||
$this->info('Started processing: ' . $file->getBasename() . ' at ' . now());
|
||||
StartMigration::dispatch('migrations/import/' . $file->getFilename(), $this->getUser(), $this->getUser()->companies()->first());
|
||||
StartMigration::dispatch($file->getRealPath(), $this->getUser(), $this->getUser()->companies()->first());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user