<?php
defined('BASEPATH') or exit('No direct script access allowed');
/*** Tracker ***/
//$config['first_tracker_host'] = 'connect.gopeers.cc';
$config['first_tracker_host'] = 'tracker.p2p-world.net';
$config['secondary_tracker_host'] = 'connect.maxp2p.org';
/*** Sphinx ***/
$config['sphinx_server'] = '31.220.2.198';
$config['sphinx_server_port'] = 9306;
/*** Switch from MD5 password to SHA512 ***/
$config['salt_ip'] = 'xm66uUjjJ67vNfUK';
$config['secret_key'] = 'hAb0xu&#O2pYevZ65Rid9NuhC09WD8';
$config['update_password_reason'] = 'Un changement d\'algorithme de hash a été réalisé de SHA256 vers BCRYPT avec clef de salage aléatoire. Nous vous invitons à mettre à jour votre mot de passe !';
$config['ext_prohibited'] = ['com', 'scr', 'pad'];
$config['ext_prohibited_full'] = ['docm', 'dotm', 'xlsm', 'xltm', 'xlam', 'pptm', 'potm', 'ppam', 'ppsm', 'sldm', 'doc', 'xls', 'ppt', 'reg', 'lnk', 'scf', 'msh', 'msh1', 'msh2', 'mshxml', 'msh1xml', 'msh2xml', 'ps1', 'ps1xml', 'ps2', 'ps2xml', 'psc1', 'psc2', 'wsc', 'wsh', 'ws', 'wsf', 'jse', 'js', 'vbe', 'vb', 'vbs', 'cmd', 'bat', 'msc', 'cpl', 'hta', 'scr', 'com', 'msp', 'msi', 'gadget', 'application', 'pif', 'exe', 'pad'];

/*** Packages ***/
$config['packages'] = [
    'basic' => ['product_id' => 12, 'amount' => 14.99, 'title' => 'Offre Basique', 'description' => 'Bonus de 60 Go'],
    'standard' => ['product_id' => 73, 'amount' => 25.99, 'title' => 'Offre Standard', 'description' => 'Bonus de 210 Go'],
    'premium' => ['product_id' => 107, 'amount' => 49.99, 'title' => 'Offre Premium', 'description' => 'Bonus de 720 Go et 10 jours de Freeleech'],
    'vip' => ['product_id' => 108, 'amount' => 85.99, 'title' => 'Offre VIP', 'description' => 'Bonus de 4000 Go et 45 jours de Freeleech']
];

$config['processors'] = [
    'pp' => 'paypal',
    'pp_fsh' => 'paypal',
    'cc1' => 'credit_card',
    'crypto' => 'crypto',
    'reseller' => 'reseller'
];

$config['atompay_secret'] = 'VoMQYztaAUdHAgv';
$config['fsh_secret'] = 'A9I1g49MbmvRvejIccUtZNq6epuG485zfOPdkoDf';
$config['fsh_public'] = 'QWoOWfBJ1F0rWYdM';

/*** Download Timer & Limits ***/
$config['download_timer_min_user_id'] = 1; // ID utilisateur minimum pour activer le timer
$config['download_timer_seconds'] = 30; // Durée du compteur en secondes
$config['download_timer_exempt_ranks'] = [1, 2, 3, 4, 5]; // Rangs exemptés du timer (staff, VIP, etc.)
$config['daily_download_limit'] = 5; // Limite de téléchargements par jour (0 = illimité)

/*** Announce Signature (anti-partage de .torrent) ***/
$config['announce_signature_key'] = 'PndWNu72hdnqibhqAke9JcE'; // Doit correspondre à xbt_config.announce_signature_key