mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Seeder fixed
This commit is contained in:
parent
0aa8443c53
commit
b4d676b42b
@ -111,7 +111,9 @@
|
||||
"database"
|
||||
],
|
||||
"psr-4": {
|
||||
"App\\": "app/"
|
||||
"App\\": "app/",
|
||||
"Database\\Factories\\": "database/factories/",
|
||||
"Database\\Seeders\\": "database/seeders/"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
|
||||
@ -127,7 +127,7 @@ class DatabaseSeeder extends Seeder
|
||||
Model::reguard();
|
||||
|
||||
|
||||
$zip = new \ZipArchive();
|
||||
$zip = new ZipArchive();
|
||||
$zip->open(storage_path('images.zip'), ZipArchive::CREATE);
|
||||
$zip->extractTo(storage_path('streams/default/files-module/local/images/'));
|
||||
$zip->open(storage_path('cats.zip'), ZipArchive::CREATE);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user