Skip to content

Commit bb2894b

Browse files
committed
feat: update structure to match new mvc-core
1 parent 80951f0 commit bb2894b

File tree

3 files changed

+0
-98
lines changed

3 files changed

+0
-98
lines changed

.htaccess

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

index.php

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

public/index.php

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,6 @@
5656
unset($path);
5757
}
5858

59-
/*
60-
|--------------------------------------------------------------------------
61-
| Attach blade view
62-
|--------------------------------------------------------------------------
63-
|
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.
67-
|
68-
*/
69-
Leaf\Config::attachView(\Leaf\Blade::class);
70-
7159
/*
7260
|--------------------------------------------------------------------------
7361
| Load Leaf configuration
@@ -81,37 +69,6 @@
8169
*/
8270
Leaf\Core::loadApplicationConfig();
8371

84-
/*
85-
|--------------------------------------------------------------------------
86-
| Sync Leaf Db with ORM and connect
87-
|--------------------------------------------------------------------------
88-
|
89-
| Sync Leaf Db with ORM and connect to the database
90-
| This allows you to use Leaf Db without having
91-
| to initialize it in your controllers.
92-
|
93-
| If you want to use a different connection from those
94-
| used in your models, you can remove the line below and
95-
| add your own connection with:
96-
| db()->connect(...)
97-
|
98-
| **Uncomment the line below to use Leaf Db**
99-
| **You don't need this line to use Leaf Auth**
100-
*/
101-
// \Leaf\Database::initDb();
102-
103-
/*
104-
|--------------------------------------------------------------------------
105-
| Load custom libraries
106-
|--------------------------------------------------------------------------
107-
|
108-
| You can load your custom libraries here. If you have
109-
| anything defined in your lib folder, you can load
110-
| them here. Simply uncomment the line below.
111-
|
112-
*/
113-
// \Leaf\Core::loadLibs();
114-
11572
/*
11673
|--------------------------------------------------------------------------
11774
| Run your Leaf MVC application

0 commit comments

Comments
 (0)