44 lines
1.1 KiB
PHP
44 lines
1.1 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
/**
|
|
* The url prefix of Omen file manager
|
|
** default is 'crud-policies'
|
|
*! The url prefix must not match any file in public folder
|
|
*/
|
|
'urlPrefix' => 'crud-policies',
|
|
|
|
/**
|
|
* You shall protect routes
|
|
* These are applied to crud routes directly as middlewares
|
|
*/
|
|
'middlewares' => [
|
|
\App\Http\Middleware\EncryptCookies::class,
|
|
\App\Http\Middleware\PreventRequestsDuringMaintenance::class,
|
|
\Illuminate\Session\Middleware\StartSession::class,
|
|
'auth:web'
|
|
],
|
|
|
|
/**
|
|
* The public path where are stored
|
|
* crud-policies asset files
|
|
*
|
|
* Change this if you want to modify
|
|
* published assets folder under /public
|
|
** default is 'vendor/crud-policies'
|
|
*/
|
|
'assetPath' => 'vendor/crud-policies',
|
|
|
|
/**
|
|
* This is the package layout that will be used
|
|
* to display crud elements
|
|
*
|
|
* You can publish views to know what sections it
|
|
* has to display
|
|
*/
|
|
'viewLayout' => 'layouts.backend',
|
|
|
|
// Dont touch this
|
|
'isLoaded' => true
|
|
];
|