@@ -1,31 +1,31 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | return [ |
| 3 | - "name" => "Lumener", |
|
| 4 | - "auto_login" => false, |
|
| 5 | - "logout_cooldown" => 10, // Time until auto login is enabled again (seconds) |
|
| 6 | - // "logout_redirect" => "admin/dashboard", |
|
| 7 | - "storage" => base_path('storage/lumener'), |
|
| 3 | + "name" => "Lumener", |
|
| 4 | + "auto_login" => false, |
|
| 5 | + "logout_cooldown" => 10, // Time until auto login is enabled again (seconds) |
|
| 6 | + // "logout_redirect" => "admin/dashboard", |
|
| 7 | + "storage" => base_path('storage/lumener'), |
|
| 8 | 8 | |
| 9 | - /** |
|
| 10 | - * Route |
|
| 11 | - */ |
|
| 12 | - // For Lumen, a route that has ("as" => "lumener") will be automatically |
|
| 13 | - // merged into main route |
|
| 14 | - "route" => |
|
| 15 | - [ |
|
| 9 | + /** |
|
| 10 | + * Route |
|
| 11 | + */ |
|
| 12 | + // For Lumen, a route that has ("as" => "lumener") will be automatically |
|
| 13 | + // merged into main route |
|
| 14 | + "route" => |
|
| 15 | + [ |
|
| 16 | 16 | // namespace is Lumener, cannot be overriden |
| 17 | 17 | "path" => "lumener", |
| 18 | 18 | "options" =>[ |
| 19 | - "as" => "lumener", |
|
| 20 | - "uses" => 'LumenerController@index', |
|
| 21 | - "middleware" => [] |
|
| 19 | + "as" => "lumener", |
|
| 20 | + "uses" => 'LumenerController@index', |
|
| 21 | + "middleware" => [] |
|
| 22 | 22 | ] |
| 23 | - ], |
|
| 23 | + ], |
|
| 24 | 24 | |
| 25 | - /** |
|
| 26 | - * Adminer |
|
| 27 | - */ |
|
| 28 | - "adminer" => [ |
|
| 25 | + /** |
|
| 26 | + * Adminer |
|
| 27 | + */ |
|
| 28 | + "adminer" => [ |
|
| 29 | 29 | // Check https://github.com/vrana/adminer/releases for custom releases |
| 30 | 30 | // (e.g. adminer-{version}-mysql-en.php or editor-{version}.php) |
| 31 | 31 | // This url format supports v4.2.5+ |
@@ -38,43 +38,43 @@ discard block |
||
| 38 | 38 | /** |
| 39 | 39 | * Plugins |
| 40 | 40 | */ |
| 41 | - "plugins" => [ |
|
| 41 | + "plugins" => [ |
|
| 42 | 42 | // plugin.php is required to use any plugin |
| 43 | 43 | // Downloaded when no file/url is supplied to the lumener:plugin command |
| 44 | 44 | "plugin_php" => "https://raw.github.com/vrana/adminer/master/plugins/plugin.php", |
| 45 | 45 | // You must install the required plugins using the lumener:plugin command |
| 46 | 46 | "enabled" => [ |
| 47 | - // No constructor arguments |
|
| 48 | - // "AdminerDumpXml" => [], |
|
| 49 | - // With constructor arguments |
|
| 50 | - // "AdminerDatabaseHide" => [['information_schema', 'mysql']], |
|
| 47 | + // No constructor arguments |
|
| 48 | + // "AdminerDumpXml" => [], |
|
| 49 | + // With constructor arguments |
|
| 50 | + // "AdminerDatabaseHide" => [['information_schema', 'mysql']], |
|
| 51 | + ], |
|
| 51 | 52 | ], |
| 52 | - ], |
|
| 53 | 53 | |
| 54 | - // "extension_file" => base_path("app/Logic/LumenerExtension.php") |
|
| 55 | - ], |
|
| 54 | + // "extension_file" => base_path("app/Logic/LumenerExtension.php") |
|
| 55 | + ], |
|
| 56 | 56 | |
| 57 | - /** |
|
| 58 | - * Security |
|
| 59 | - */ |
|
| 60 | - // Uncomment any of the following lines to limit access by db/user |
|
| 61 | - // Note that *_protected overrides *_allowed in conflicts |
|
| 62 | - "security" => [ |
|
| 57 | + /** |
|
| 58 | + * Security |
|
| 59 | + */ |
|
| 60 | + // Uncomment any of the following lines to limit access by db/user |
|
| 61 | + // Note that *_protected overrides *_allowed in conflicts |
|
| 62 | + "security" => [ |
|
| 63 | 63 | // "allowed_db" => ['my_db'], |
| 64 | 64 | // "protected_db" => ['information_schema', 'mysql'], |
| 65 | 65 | // "allowed_users" => ['admin'], |
| 66 | 66 | // "protected_users" => ['root'] |
| 67 | - ], |
|
| 67 | + ], |
|
| 68 | 68 | |
| 69 | - /** |
|
| 70 | - * Database Access Info (For Auto Login) |
|
| 71 | - */ |
|
| 72 | - // Uncomment any of the following lines to override .env values |
|
| 73 | - "db" => [ |
|
| 69 | + /** |
|
| 70 | + * Database Access Info (For Auto Login) |
|
| 71 | + */ |
|
| 72 | + // Uncomment any of the following lines to override .env values |
|
| 73 | + "db" => [ |
|
| 74 | 74 | // "host" => "www.example.com", |
| 75 | 75 | // "port" => 9999, |
| 76 | 76 | // "username" => "root", |
| 77 | 77 | // "password" => "toor", |
| 78 | 78 | // "database" => "my_database" |
| 79 | - ] |
|
| 79 | + ] |
|
| 80 | 80 | ]; |