|
62 | 62 | |-------------------------------------------------------------------------- |
63 | 63 | | |
64 | 64 | | Since blade no longer ships with Leaf by default, we |
65 | | -| can attach blade back to Leaf so you can use Leaf MVC |
66 | | -| as you've always used it. |
| 65 | +| can attach blade back to Leaf. If you want to use blade |
| 66 | +| in your application, you can uncomment the line below. |
67 | 67 | | |
68 | 68 | */ |
69 | | -Leaf\View::attach(\Leaf\Blade::class); |
| 69 | +// Leaf\Config::attachView(\Leaf\Blade::class); |
70 | 70 |
|
71 | 71 | /* |
72 | 72 | |-------------------------------------------------------------------------- |
|
87 | 87 | |-------------------------------------------------------------------------- |
88 | 88 | | |
89 | 89 | | Sync Leaf Db with ORM and connect to the database |
90 | | -| This allows you to use Leaf Db and Leaf Auth without |
91 | | -| having to initialize them in your controllers. |
| 90 | +| This allows you to use Leaf Db without having |
| 91 | +| to initialize it in your controllers. |
92 | 92 | | |
93 | 93 | | If you want to use a different connection from those |
94 | | -| used in, your models, you can remove the line below and |
| 94 | +| used in your models, you can remove the line below and |
95 | 95 | | add your own connection with: |
96 | 96 | | db()->connect(...) |
97 | 97 | | |
98 | | -| **Uncomment the line below to use Leaf Db or Auth** |
| 98 | +| **Uncomment the line below to use Leaf Db** |
| 99 | +| **You don't need this line to use Leaf Auth** |
99 | 100 | */ |
100 | 101 | // \Leaf\Database::initDb(); |
101 | 102 |
|
|
0 commit comments