← Back
mainapp/config.php
<?php
return [
  'db' => [
    'host' => 'localhost',
    'name' => 'gitrobot',
    'user' => 'gitrobot_user',
    'pass' => 'YOUR_PASSWORD',
    'charset' => 'utf8mb4',
  ],

  // IMPORTANT:
  // Put this OUTSIDE public_html if possible (recommended).
  // Example on Hostinger: /home/u123456789/storage_gitrobot
  'storage_base' => realpath(__DIR__ . '/../storage_gitrobot') ?: (__DIR__ . '/../storage_gitrobot'),
];