Files
aleshell2/src/config/config.php
2025-09-23 22:57:23 +02:00

59 líneas
1.5 KiB
PHP

<?php
/**
* Basic Configuration for AleShell
*
* Minimal config to get AleShell running
*/
return [
'app' => [
'name' => 'AleShell',
'version' => '2.0.0',
'debug' => true, // Enable for troubleshooting
'timezone' => 'UTC'
],
'security' => [
// Default password: "password"
'password' => '$2y$12$IyAHk858LpyxJaqMOgHiJOHdR.GWbAoGVYUpQh1Ec1ogTGNxyRWRe',
'session_timeout' => 3600,
'csrf_protection' => true,
'rate_limiting' => false, // Disabled for testing
'max_attempts' => 5,
'lockout_time' => 300,
'allowed_ips' => [],
'blocked_ips' => []
],
'features' => [
'file_manager' => true,
'terminal' => true,
'code_editor' => true,
'process_manager' => true,
'network_tools' => true,
'database_tools' => true,
'system_info' => true,
'log_viewer' => true
],
'ui' => [
'theme' => 'dark',
'language' => 'en',
'items_per_page' => 50,
'auto_refresh' => false,
'show_hidden_files' => false
],
'limits' => [
'max_file_size' => 50 * 1024 * 1024, // 50MB
'max_upload_size' => 100 * 1024 * 1024, // 100MB
'max_output_lines' => 1000,
'command_timeout' => 30
],
'paths' => [
'temp_dir' => sys_get_temp_dir(),
'upload_dir' => dirname(__DIR__) . '/uploads',
'log_dir' => dirname(__DIR__) . '/logs'
]
];