Skip to content

Commit dcd7e01

Browse files
committed
Fix for newest starter
1 parent dfc3cae commit dcd7e01

File tree

4 files changed

+37
-58
lines changed

4 files changed

+37
-58
lines changed

etc/app/web.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
'error' => [
123123
'handlers' => [
124124
// Uncommnet this line if you need error log support
125-
// 'log' => \Windwalker\Core\Error\Handler\ErrorLogHandler::class
125+
'log' => \Windwalker\Core\Error\Handler\ErrorLogHandler::class
126126
]
127127
],
128128

etc/routing.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1-
main:
1+
#main:
2+
# pattern: /
3+
# package: main
4+
5+
front:
26
pattern: /
3-
package: main
7+
package: front
8+
9+
admin:
10+
pattern: /admin
11+
package: admin

resources/seeders/CoverSeeder.php

Lines changed: 0 additions & 53 deletions
This file was deleted.

resources/seeders/MainSeeder.php

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,19 @@ class MainSeeder extends AbstractSeeder
2222
*/
2323
public function doExecute()
2424
{
25-
$this->execute(CoverSeeder::class);
25+
$this->execute(UserSeeder::class);
26+
27+
$this->execute(LanguageSeeder::class);
28+
29+
$this->execute(TagSeeder::class);
30+
31+
$this->execute(CategorySeeder::class);
32+
33+
$this->execute(ArticleSeeder::class);
34+
35+
$this->execute(CommentSeeder::class);
36+
37+
$this->execute(ModuleSeeder::class);
2638
}
2739

2840
/**
@@ -32,6 +44,18 @@ public function doExecute()
3244
*/
3345
public function doClear()
3446
{
35-
$this->clear(CoverSeeder::class);
47+
$this->clear(UserSeeder::class);
48+
49+
$this->clear(LanguageSeeder::class);
50+
51+
$this->clear(TagSeeder::class);
52+
53+
$this->clear(CategorySeeder::class);
54+
55+
$this->clear(ArticleSeeder::class);
56+
57+
$this->clear(CommentSeeder::class);
58+
59+
$this->clear(ModuleSeeder::class);
3660
}
3761
}

0 commit comments

Comments
 (0)