Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
feat: Working on the new version
Browse files Browse the repository at this point in the history
  • Loading branch information
allanmcarvalho committed Jun 26, 2020
1 parent 9203fb4 commit 6618354
Show file tree
Hide file tree
Showing 18 changed files with 1,264 additions and 2,815 deletions.
32 changes: 8 additions & 24 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,6 @@
return [
'DataTables' => [
'columnAutoGeneratedWarning' => true,
'libraries' => [
'enabled' => true,
'autoload' => true,
'cssBlock' => 'css',
'scriptBlock' => 'script',
'theme' => \DataTables\Table\ResourcesConfig\LocalResourcesConfig::THEME_BASE,
'loadThemeLibrary' => false,
'jquery' => \DataTables\Table\ResourcesConfig\LocalResourcesConfig::JQUERY_NONE,
'plugins' => [
'autoFill' => false,
'buttons' => false,
'colReorder' => false,
'fixedColumns' => false,
'fixedHeader' => false,
'keyTable' => false,
'responsive' => false,
'rowGroup' => false,
'rowReorder' => false,
'scroller' => false,
'searchPanes' => false,
'select' => false,
],

],
'StorageEngine' => [
'class' => \DataTables\StorageEngine\CacheStorageEngine::class,
'forceCache' => false,
Expand All @@ -53,6 +29,14 @@
'duration' => '+1 year',
'url' => env('CACHE_CAKECORE_URL', null),
],
'_data_tables_assets_' => [
'className' => \Cake\Cache\Engine\FileEngine::class,
'prefix' => 'asset_',
'path' => CACHE . DS . 'data_tables' . DS . 'assets' . DS,
'serialize' => true,
'duration' => '+1 year',
'url' => env('CACHE_CAKECORE_URL', null),
],
],
],
];

0 comments on commit 6618354

Please sign in to comment.