Skip to content

Commit

Permalink
update admin.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mevdschee committed Dec 10, 2020
1 parent b416750 commit 60b6d05
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 30 deletions.
6 changes: 3 additions & 3 deletions admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -12411,17 +12411,17 @@ public function getTemplatePath(): string
// file: src/index.php
namespace Tqdev\PhpCrudAdmin {

use Tqdev\PhpCrudAdmin\Admin;
use Tqdev\PhpCrudAdmin\Config;
use Tqdev\PhpCrudApi\RequestFactory;
use Tqdev\PhpCrudApi\ResponseUtils;
use Tqdev\PhpCrudAdmin\Config;
use Tqdev\PhpCrudAdmin\Admin;

$config = new Config([
'api' => [
'username' => 'php-crud-api',
'password' => 'php-crud-api',
'database' => 'php-crud-api',
'controllers' => 'columns'
'controllers' => 'columns',
],
'templatePath' => '../templates',
]);
Expand Down
100 changes: 76 additions & 24 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Tqdev\PhpCrudAdmin;

use Tqdev\PhpCrudAdmin\Admin;
use Tqdev\PhpCrudAdmin\Config;
use Tqdev\PhpCrudApi\RequestFactory;
use Tqdev\PhpCrudApi\ResponseUtils;
use Tqdev\PhpCrudAdmin\Config;
use Tqdev\PhpCrudAdmin\Admin;

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

Expand All @@ -14,7 +14,7 @@
'username' => 'php-crud-api',
'password' => 'php-crud-api',
'database' => 'php-crud-api',
'controllers' => 'columns'
'controllers' => 'columns',
],
'templatePath' => '../templates',
]);
Expand Down

0 comments on commit 60b6d05

Please sign in to comment.