Skip to content

Commit 60b6d05

Browse files
committed
update admin.php
1 parent b416750 commit 60b6d05

File tree

3 files changed

+82
-30
lines changed

3 files changed

+82
-30
lines changed

admin.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12411,17 +12411,17 @@ public function getTemplatePath(): string
1241112411
// file: src/index.php
1241212412
namespace Tqdev\PhpCrudAdmin {
1241312413

12414+
use Tqdev\PhpCrudAdmin\Admin;
12415+
use Tqdev\PhpCrudAdmin\Config;
1241412416
use Tqdev\PhpCrudApi\RequestFactory;
1241512417
use Tqdev\PhpCrudApi\ResponseUtils;
12416-
use Tqdev\PhpCrudAdmin\Config;
12417-
use Tqdev\PhpCrudAdmin\Admin;
1241812418

1241912419
$config = new Config([
1242012420
'api' => [
1242112421
'username' => 'php-crud-api',
1242212422
'password' => 'php-crud-api',
1242312423
'database' => 'php-crud-api',
12424-
'controllers' => 'columns'
12424+
'controllers' => 'columns',
1242512425
],
1242612426
'templatePath' => '../templates',
1242712427
]);

composer.lock

Lines changed: 76 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace Tqdev\PhpCrudAdmin;
44

5+
use Tqdev\PhpCrudAdmin\Admin;
6+
use Tqdev\PhpCrudAdmin\Config;
57
use Tqdev\PhpCrudApi\RequestFactory;
68
use Tqdev\PhpCrudApi\ResponseUtils;
7-
use Tqdev\PhpCrudAdmin\Config;
8-
use Tqdev\PhpCrudAdmin\Admin;
99

1010
require '../vendor/autoload.php';
1111

@@ -14,7 +14,7 @@
1414
'username' => 'php-crud-api',
1515
'password' => 'php-crud-api',
1616
'database' => 'php-crud-api',
17-
'controllers' => 'columns'
17+
'controllers' => 'columns',
1818
],
1919
'templatePath' => '../templates',
2020
]);

0 commit comments

Comments
 (0)