?php

$config = array();
$config['series_only']  = false;

$config['is_prod'] = false;

// on met un serveur id pour savoir quel web server a servi la page (web1 ou web2)
$config['server_id'] = "";

// on force l'accès la base de données plutôt à qu'à Elastic Search pour le film/show, tv_show/show, artist/show etc 
$config['force_db']     = false;

$config['default_email'] = 'dev@vodkaster.com';

$config['dbs.options'] = array(
    'gravity' => array(
    'driver'    => 'pdo_mysql',
    'host'      => 'localhost',
    'dbname'    => 'gravity',
    'charset'   => 'utf8',
    'driverOptions' => array(1002 => 'SET NAMES utf8')
  ),
  'riplay' => array(
    'driver'    => 'pdo_mysql',
    'host'      => 'localhost',
    'dbname'    => 'riplay',
    'charset'   => 'utf8',
    'driverOptions' => array(1002 => 'SET NAMES utf8')
  )
  ,'bi' => array(
    'driver'    => 'pdo_mysql',
    'host'      => 'sqlbi.vodkaster.com',
    'dbname'    => 'bi',
    'user'      => 'root',
    'password'  => 'Butcats3',
    'charset'   => 'utf8',
    'driverOptions' => array(1002 => 'SET NAMES utf8')
  )
);

// on met la config de l'utilisateur IAM 
$config['aws'] = array(
  'key'       => 'AKIAJ5QWLGU23ZI35I6A',
  'secret'    => '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',
  'region'    => 'us-east-1'
);

$config['hostname'] = 'www.vodkaster.com';

$config['send_mail'] = false;

$config['media'] = array(
  'url'        => 'http://media.dev.vodkaster.com',
  'urls'       => array('http://media.dev.vodkaster.com'),
  'server_url' => 'http://media.dev.vodkaster.com',
  'types'      => require_once __DIR__ . '/media_types.php'
);

$config['subtitles'] = array(
  'url'   => 'http://sub.vodkaster.com/stream'
);

$config['promo'] = array(
  'url'   => 'http://promo.vodkaster.com'
);

$config['trailers'] = array(
  'url'   => 'http://trailer.vodkaster.com'
);


$config['moviequiz'] = array(
  'api_url'           => 'localhost',
  'question_duration' => 20,
  'nb_lives_max'      => 5,
  'new_life_delay'    => 1800,
  'max_players'       => 200,
  'templates'         => array('question', 'rating', 'inter-screen', 'stats', 'resume', 'error')
);

$config['api']['secret']          = 'H-XVh2wMt8EjENtb_sDPe8dLkIg';
$config['api']['mobile_secret']   = 'Y-FZb3qPr7AjAdtge_PPa4xQoYt';
$config['api']['super_api_token'] = 'd52a38f24819df9a86b46a41a56fd5cc0ceaea01';
$config['riplay_api']['url']      = 'http://apiriplay.vodkaster.com';
$config['gattaca_api']['url']     = 'http://api_user:wesanderson@gattaca.prod.vodkaster.com/api';
$config['riplay_intranet_url']    = 'http://intranet.prod.vodkaster.com';

$config['facebook'] = array(
  'app_id'              => '131686019124',
  'app_secret'          => '2ccb7accd7907230b069149d75e59b3d',
  'min_token_lifetime'  => 1209600, // 14 jours
);

$config['facebook_prod'] = array(
  'app_id' => '153957121510',
  'app_secret' => '18f82a34594a4c25e193d97c258cb7da'
);

//$config['twitter'] = array(
//  'consumer_key'        => 'iCrB17xHBmrAvZ3HX3u4A',
//  'consumer_key_secret' => 'T3HA25WSIZiigLWL8zoxOmykKhGeikPKcQI9fsOHM'
//);

$config['twitter'] = array(
  'consumer_key' => 'W4UYA4TFedLYnNOiNTlg',
  'consumer_key_secret' => 'C22XdTeMneBPgtCvuxI27JR4HVmimOkvVHQy1GO0',
);

$config['twitter_prod'] = array(
  'consumer_key' => 'W4UYA4TFedLYnNOiNTlg',
  'consumer_key_secret' => 'C22XdTeMneBPgtCvuxI27JR4HVmimOkvVHQy1GO0'
);

$config['twitter_brief'] = array(
  'consumer_key' => '6vJ45CDdxOCQCNzp8x4K8e3QT',
  'consumer_secret' => 'fvFzwIaj8nr06lSC1tGllNVdGkxDYiZvYalcv7ZVzivE8IRWoO',
  'oauth_access_token' => '17461892-eloK0jtUxfRbrj9GzFFUKi9FCRih5JO86j3PCiz5N',
  'oauth_access_token_secret' => 'tMd4Gj4HPB0zMnhESurf62bObFa776tCWiWU09v1LzCsb'
);

$config['dm'] = array(
  'api_key'     => '1517b767207cfc6c4369',
  'api_secret'  => '92dbad8611858579867172f2205c93cfda8ef57c',
  'username'    => 'vodkaster',
  'password'    => 'sayonara'
);

$config['google'] = array(
  'application_name'  => 'Vodkaster',
  'client_id'         => '685306241531-0osjmh8muqpljuf80laemjnaco91te9b.apps.googleusercontent.com',
  'client_secret_key' => 'xv1xSupL1DaZ2K8s8GiueUNn'
);

$config['search'] = array(
  'engine' => "ElasticSearch",
  'hosts'  => array('localhost:9200')
);

$config['google_recapcha'] = array(
  'public_key' => '6LcFJBcTAAAAAM8Ui8xewtbVHOGgXvxR4bJsiuDs',
  'secret_key' => '6LcFJBcTAAAAAFQrIApjSYmjc9LfDsuw9WnuyNEe'
);

// Ids riplay qui peuvent profiter de l'offre film offert indéfiniment
$config['test_accounts'] = array('500000011034');

// Id de l'article qui contient les CGU
$config['cgu_article_id'] = 1275819;


$config['prices'] = array(
  'commission'                => '0.99',
  'minimum'                   => '1.00',
  'offer_minimum'             => '2.00',
  'maximum'                   => '99.00',
  'moneybox_minimum'          => '5.00',
  'moneybox_promo_percentage' => '0',
  'delivery_price'            => '5.00', // Frais d'envois d'un DVD (1 dépôt)
  'delivery_price_primo'      => '1.00', // Frais d'envois d'un primo déposant de moins de 6 mois
  'delivery_dvd_price'        => '0.50'  // Frais d'envois par DVD supplémentaire dans un dépôt au delà de 3 DVD
);


$config['meta'] = array(
  'default_title' => 'Vodkaster - Ciné & Séries',
  'default_description' => "Vodkaster est le réseau social dédié au cinéma et aux séries."
);

$config['promo_depot'] = array(
  'nb_lots'         => 2,
  'nb_promo_depots' => 6,
  'top_wishlist'    => 500,
  'max_price'       => 5
);

// CSS
$config['css'] = array(
  'compiled'  => 'all.min',
  'list'      => array(
    'normalize.css',
    'magnific-popup.css',
    'idangerous.swiper.css',
    'idangerous.swiper.scrollbar.css',
    'tooltipster.css',
    'flowplayer.css',
    'glyphicons.1.9.2.css',
    'flags.css',
    'ss-social-regular.css',
    'ss-social-circle.css',
    'layout.css',
    'breves.css',
    'gravity.css',
    'work.css',
    'moviequiz.css',
    'slick.css'
  )
);

// JS
$config['js'] = array(
  'compiled'  => 'all.min',
  'list'      => array(
    'plugins/modernizr-2.6.2.min.js',
    'plugins/jquery-1.11.0.min.js',
    'plugins/jquery-ui-1.10.4.custom.min.js',
    'plugins/jquery.raty.js',
    'plugins/jquery.magnific-popup.0.9.9.min.js',
    'plugins/jquery.tooltipster-3.1.0.min.js',
    'plugins/jquery.spinner.custom.js',
    'plugins/jquery.cookie.js',
    'plugins/underscore-1.6.0.min.js',
    'plugins/idangerous.swiper.js',
    'plugins/idangerous.swiper.scrollbar.js',
    'plugins/flowplayer/flowplayer-3.2.13.min.js',
    'plugins/flowplayer/flowplayer.ipad-3.2.13.min.js',
    'plugins/jquery.countdown.min.js',
    'plugins/moment.min.js',
    'plugins/moment-timezone-with-data.min.js',
    'plugins/slick.min.js',
    'vkgui.js',
    'speedtest.js',
    'gravity.js',
    'moviequiz.js',
    'facebook.js'
  )
);


$config['redmine.options'] = array(
  'url'     => 'http://tools.vodkaster.com/redmine',
  'api_key' => 'b2c3d5ba8534172cc6bbd8a9662ae0ed0b360f0c',
  'categories' => array(
    'bug'          => array('id' => 27, 'label' => 'Bug'),
    'bdd'          => array('id' => 31, 'label' => 'Base de données'),
    'idea'         => array('id' => 29, 'label' => 'Idée', 'full_label' => "Idée / Suggestion"),
    'question'     => array('id' => 30, 'label' => 'Question'),
    'nice_word'    => array('id' => 28, 'label' => 'Petit mot gentil'),
    'probleme_dvd' => array('id' => 32, 'label' => 'Problème DVD', 'full_label' => "SAV / Lecture à distance de DVD")
  ),
  'users' => array (
    3   => 'marivaudage',
    5   => 'manzelo',
    6   => 'hugo',
    7   => 'IMtheRookie',
    9   => 'paulined',
    32  => 'Nienor',
    34  => 'Flol',
    35  => 'Alize_',
    36  => 'Carize',
    38  => 'India_',
    39  => 'julietteuuh',
    40  => 'zephsk',
    41  => 'Pinkpanther',
    42  => 'flobannion',
    43  => 'ChrisBeney',
    44  => 'Willou',
    45  => 'PumpUpTheJam',
    51  => 'lunard1'
  ),
);

// on stock ici les IDs vodkaster des membres du SAV
// ça nous sert à n'afficher que les messages de ces personnes dans la page d'admin "Messages envoyés"
$config['sav_ids'] = array(
  // Alizé (Alize_)
  1219779,
  // Carine (Carize)
  1227944,
  // Chris B (ChrisBeney)
  182430,
  // Pauline (paulined)
  197027,
  // David (ImTheRookie)
  6842
);


// on stock ici les IDs vodkaster et les pseudo des admins qui peuvent traiter les TODOs
$config['todo_admins'] = array(
  1219779 => 'Alizé',
  1227944 => 'Carine',
  1248732 => 'Carole',
  182430  => 'Chris Beney',
  1113643 => 'Chris Navas',
  6842    => 'David',
  622089  => 'Elodie',
  220672  => 'Hugo',
  1222455 => 'Julien',
  197027  => 'Pauline',
  719812  => 'Nicolas',
  723553  => 'Jean-Valère',
  1300675 => 'Steve',
  1262665 => 'Manu'
);


$config['msg_accounts'] = array(
    'ServiceClient'     => 150,
    'InfoAmbassadeur'   => 151,
    'LeParrain'         => 152
);

// Appeler ou non mangopay (quand ça rame en dev...)
$config['call_mangopay'] = true;
//$config['call_mangopay'] = false;

// Streaming en maintenance
$config['streaming'] = true;
//$config['streaming'] = false;

// Menu Cannes
$config['cannes'] = false;

/************************************************/
/*                  PROMOS                      */   
/************************************************/           

// Opération film offert pour nouveaux arrivant
$config['promo_nouvel_arrivant'] = false;

// Offre flash : class css particulière ?
// Exemple : Saint-Valentin
$config['offre_flash_class'] = '';

// Offre promo duo : tous les deux achats, 1 offert (pendant 1h)
$config['promo_duo'] = true;





$config['admin_sections'] = array(
  array(
    'title' => 'Edito',
    'role'  => 'ROLE_EDITO',
    'class' => 'panel-info',
    'col_num' => 1,
    'items' => array(
      array('intitule' => 'Articles',           'path' => 'admin_articles'),
      array('intitule' => 'Brèves',             'path' => 'admin_brief'),
      array('intitule' => 'Billets de blog',    'path' => 'admin_blog_posts'),
      array('intitule' => 'News ambassadeurs',  'path' => 'admin_ambassadeur_posts')
    )
  ),
  array(
    'title' => 'Base de données',
    'role'  => 'ROLE_BDD_LITE',
    'class' => 'panel-warning',
    'col_num' => 1,
    'items' => array(
      array('path' => 'admin_films',        'intitule' => 'Films'),
      array('path' => 'admin_tv_shows',     'intitule' => 'Séries'),
      array('path' => 'admin_artists',      'intitule' => 'Artistes'),
      array('path' => 'divider'),
      array('path' => 'admin_banzai',       'intitule' => 'Banzai (ex-Babel)', 'role' => 'ROLE_BDD'),
      array('path' => 'divider'),
      array('path' => 'admin_quiz_photos',  'intitule' => 'Photos de quiz'),
      array('path' => 'admin_quiz_home',    'intitule' => 'Parties de quiz'),
    )
  ),
  array(
    'title' => 'Modération',
    'role'  => 'ROLE_BDD',
    'class' => 'panel-danger',
    'col_num' => 1,
    'items' => array(
      array('path' => 'admin_moderation_shaddy_comments',   'intitule' => 'Commentaires d\'utilisateurs récents contenant des liens'),
      array('path' => 'admin_moderation_spam_words',        'intitule' => 'Liste de mots anti-spam')
    )
  ),
  array(
    'title' => 'Clients',
    'role'  => 'ROLE_BDD',
    'class' => 'panel-danger',
    'col_num' => 2,
    'items' => array(
      array('path' => 'admin_crm_feedbacks',             'intitule' => 'Feedbacks'),
      // array('path' => 'admin_users_by_tag', 'path_args' => array('tag' => 'TODO'),  'intitule' => 'Utilisateurs taggés TODO'),
      array('path' => 'admin_crm_todos',                 'intitule' => 'TODOs'),
      array('path' => 'admin_crm_sent_msg',              'intitule' => 'Messages envoyés'),
      array('path' => 'admin_users',                     'intitule' => 'Utilisateurs',           'role' => 'ROLE_ADMIN'),
      array('path' => 'divider'),          
      array('path' => 'admin_crm_emails',                'intitule' => 'Emails',                 'role' => 'ROLE_ADMIN'),
      array('path' => 'admin_crm_withdrawal_requests',   'intitule' => 'Demandes de transferts', 'role' => 'ROLE_ADMIN'),
      array('path' => 'divider'),
      array('path' => 'admin_crm_campaigns',             'intitule' => 'Campagnes',              'role' => 'ROLE_ADMIN'),
      array('path' => 'admin_crm_promo_codes_campaigns', 'intitule' => 'Campagnes codes promos', 'role' => 'ROLE_ADMIN'),
      array('path' => 'admin_crm_vouchers',              'intitule' => 'Vouchers',               'role' => 'ROLE_ADMIN'),
      array('path' => 'admin_crm_coupons',               'intitule' => 'Coupons',                'role' => 'ROLE_ADMIN')
      
    )
  ),
  array(
    'title' => 'E-commerce',
    'role'  => 'ROLE_ECOMMERCE',
    'class' => 'panel-success',
    'col_num' => 3,
    'items' => array(
      array('path' => 'admin_ecommerce_tunnel_runs', 'path_args' => array('run_type' => 'buy'),  'intitule' => 'Tunnel : buy runs'),
      array('path' => 'admin_ecommerce_tunnel_runs', 'path_args' => array('run_type' => 'long'), 'intitule' => 'Tunnel : long runs'),
      array('path' => 'admin_ecommerce_buyers_journey', 'intitule' => 'Parcours avant achat'),
      array('path' => 'admin_ecommerce_tickets', 'intitule' => 'Tickets'),
      array('path' => 'divider'),
      array('path' => 'admin_ecommerce_films_to_offer', 'intitule' => 'Films sur lesquels il faut faire des offres'),
      array('path' => 'admin_ecommerce_offer_suggestions_film', 'intitule' => 'Suggestions d\'offres - Films'),
      array('path' => 'admin_ecommerce_offer_suggestions_tv_show', 'intitule' => 'Suggestions d\'offres - Séries'),
      array('path' => 'admin_ecommerce_offers',            'intitule' => 'Suivi des offres'),
      array('path' => 'admin_ecommerce_automatic_offers', 'intitule' => 'Suivi des offres automatiques'),
      array('path' => 'divider'),
      array('path' => 'admin_ecommerce_top_clients', 'intitule' => 'Top Clients'),
      array('path' => 'divider'),
      array('path' => 'admin_ecommerce_amazon_export', 'intitule' => 'Téléchargement de l\'export Amazon')
    )
  ),
  array(
    'title' => 'Catalogue',
    'role'  => 'ROLE_ECOMMERCE',
    'class' => 'panel-info',
    'col_num' => 3,
    'items' => array(
      array('path' => 'admin_catalogue_home',     'intitule' => 'Info Catalogue'),
      array('path' => 'divider'),
      array('path' => 'admin_crm_depotdvds',      'intitule' => 'Demandes de dépot DVD',  'role' => 'ROLE_ADMIN'),
      array('path' => 'admin_crm_retourdvds',     'intitule' => 'Expéditions DVD',        'role' => 'ROLE_ADMIN'),
      array('path' => 'divider'),
      array('path' => 'admin_num_suivi',          'intitule' => 'Suivi numérisation',     'role' => 'ROLE_ADMIN'),
      array('path' => 'admin_watch_suivi',        'intitule' => 'Visualisations Pacman',  'role' => 'ROLE_ADMIN'),
      array('path' => 'divider'),
      array('path' => 'admin_box_search',         'intitule' => 'Recherche carton',       'role' => 'ROLE_ADMIN')
    )
  ),
  array(
    'title' => 'Management',
    'role'  => 'ROLE_MGMT',
    'class' => 'panel-default',
    'col_num' => 4,
    'items' => array(
      array('path' => 'admin_kpis',                     'intitule' => 'KPIs'),
      array('path' => 'admin_ecommerce_segments',       'intitule' => 'Segments'),
      array('path' => 'admin_ecommerce_transactions',   'intitule' => 'Transactions'),
      array('path' => 'admin_ecommerce_stream_runs',    'intitule' => 'Stream runs'),
      array('path' => 'admin_ecommerce_bbs_runs',       'intitule' => 'Logs BBS'),
      array('path' => 'admin_ecommerce_exports',         'intitule' => 'Exports'),
      array('path' => 'divider'),
      array('path' => 'admin_ecommerce_tunnel_run_diagram', 'path_args' => array('top_agg' => 'per_month'),   'intitule' => 'Diagramme tunnel par mois'),
      array('path' => 'admin_ecommerce_tunnel_run_diagram', 'path_args' => array('top_agg' => 'per_ab_test'), 'intitule' => 'A/B Testing tunnel'),
      array('path' => 'divider'),
      array('path' => 'admin_conv_suivi',               'intitule' => 'Suivi de conv')
    )
  )

);


// URL de download VLC
// vlc 2 = cloud1 
//$config['vlc_download']['mac'] = "http://people.videolan.org/~jb/Builds/RiP/macosx/VLC-webplugin-2.2.0-v4.dmg";
//$config['vlc_download']['win'] = "http://people.videolan.org/~jb/Builds/RiP/win32/vlc-2.2.0-git-win32-v4.exe";
// ULR de download VLC quand people.videolan.org est down
/*
$config['vlc_download']['mac'] = "https://www.dropbox.com/sh/7qmo4fp2m2p5yae/AABZW_T0CjONPoz5nkFzgu7fa/VLC-webplugin-2.2.0-v4.dmg?dl=1";
$config['vlc_download']['win'] = "https://www.dropbox.com/s/3gxtskbt901p8cb/vlc-2.2.0-git-win32-v4.exe?dl=1";
*/

// vlc 3 = cloud1 et cloud2 2014_11_10
// $config['vlc_download']['mac'] = "http
// vlc 3 = cloud1 et cloud2 2014_11_10
// $config['vlc_download']['mac'] = "http://people.videolan.org/~jb/Builds/RiP/macosx/VLC-webplugin-3.0.0-b4.dmg";
$config['vlc_download']['mac'] = "http://aws.vodkaster.com/VLC-webplugin-2.2.0-v5.dmg";
$config['vlc_download']['win'] = "http://aws.vodkaster.com/vlc-2.2.1-win32.exe";

// contrôle des versions mobile pour savoir si le service est toujours supporté
//      '5.*' => array('*' => array('cmd' => array('action'=>'CLOSE', 'datas'=>'prochainement nous supporterons cette version d\'android'))),
//      '5.*' => array('*' => array('cmd' => array('action'=>'CLOSE', 'datas'=>'prochainement nous supporterons cette version d\'android'))),
$config['check_version'] = array(
  'mobile' => array(
    'android' => array(
      '1.*' => array('*' => array('cmd' => array('action'=>'CLOSE', 'datas'=>'nous ne suportont pas cette version d\'android'))),
      '2.*' => array('*' => array('cmd' => array('action'=>'CLOSE', 'datas'=>'nous ne suportont pas cette version d\'android'))),
      '3.*' => array('*' => array('cmd' => array('action'=>'CLOSE', 'datas'=>'nous ne suportont pas cette version d\'android'))),
      '*'   => array(
        '1.3g tv*' => array('cmd' => array('action'=>'UPDATE_NEED',     'datas'=>'com.vodkaster.androidTV')),
        '0.*' => array('cmd' => array('action'=>'UPDATE_NEED',     'datas'=>'com.vodkaster.tv')),
        '0.18*' => array('cmd' => array('action'=>'OPEN',        'datas'=>'c\'est une version de developpement ... HOUBA David')),
        '0.17*' => array('cmd' => array('action'=>'OPEN_MSG',        'datas'=>'c\'est une version beta, merci de nous signaler tous les bugs que vous rencontrez')),
        '0.16*' => array('cmd' => array('action'=>'OPEN_MSG',        'datas'=>'c\'est une version beta')),
        '0.16*' => array('cmd' => array('action'=>'CLOSE')),
        '0.15*' => array('cmd' => array('action'=>'UPDATE_NEED',  'datas'=>'com.vodkaster.tv')),
        '0.14' => array('cmd' => array('action'=>'UPDATE_NEED',     'datas'=>'com.vodkaster.tv')),
        '0.13' => array('cmd' => array('action'=>'CLOSE')),
        '0.12' => array('cmd' => array('action'=>'CLOSE',           'datas'=>'Fermé pour maintenance, reessayer dans 200 jours'))
      )
    )
  ),
  'tablet' => array(
    'android' => array(
      '1.*' => array('*' => array('cmd' => array('action'=>'CLOSE', 'datas'=>'nous ne suportont pas cette version d\'android'))),
      '2.*' => array('*' => array('cmd' => array('action'=>'CLOSE', 'datas'=>'nous ne suportont pas cette version d\'android'))),
      '3.*' => array('*' => array('cmd' => array('action'=>'CLOSE', 'datas'=>'nous ne suportont pas cette version d\'android'))),
      '*'   => array(
        '1.3g tv*' => array('cmd' => array('action'=>'UPDATE_NEED',     'datas'=>'com.vodkaster.androidTV')),
        '0.*' => array('cmd' => array('action'=>'UPDATE_NEED',     'datas'=>'com.vodkaster.tv')),
        '0.17' => array('cmd' => array('action'=>'OPEN_MSG',        'datas'=>'c\'est une version beta')),
        '0.16' => array('cmd' => array('action'=>'OPEN_OK')),
        '0.15' => array('cmd' => array('action'=>'UPDATE_WARNING',  'datas'=>'com.vodkaster.tv')),
        '0.14' => array('cmd' => array('action'=>'UPDATE_NEED',     'datas'=>'com.vodkaster.tv')),
        '0.13' => array('cmd' => array('action'=>'CLOSE')),
        '0.12' => array('cmd' => array('action'=>'CLOSE',           'datas'=>'Fermé pour maintenance, reessayer dans 200 jours'))
      )
    )
  )
);

// Restrictions ayants droit
$config['right_holder_restrictions'] = array(
  'play' => array(),
  'sell' => array(/*'warner'*/)
);

$config['conversion'] = array(
  'language_to_iso' => array(
    'Français'    => 'fr',
    'Anglais'     => 'gb', // Grande bretagne
    'Espagnol'    => 'es',
    'Italien'     => 'it',
    'Allemand'    => 'de',
    'Portugais'   => 'pt',
    'Chinois'     => 'cn',
    'Arabe'       => 'sa', // Arabie Saoudite
    'Afrikaans'   => 'af', // Afrique du sud
    'Hébreu'      => 'il', // Israël
    'Japonais'    => 'jp',
    'Néerlandais' => 'nl',
    'Russe'       => 'ru',
    'Bulgare'     => 'bg',
    'Tchèque'     => 'cz',
    'Catalan'     => 'ca',
    'Finnois'     => 'fi',
    'Danois'      => 'da',
    'Grec'        => 'gr',
    'Grec moderne'=> 'gr',
    'Estonien'    => 'ee',
    'Croate'      => 'hr',
    'Hongrois'    => 'hu',
    'Arménien'    => 'am',
    'Indonésien'  => 'id',
    'Géorgien'    => 'ge',
    'Kazakh'      => 'kz',
    'Coréen'      => 'kr', // Corée du sud
    'Luxembourgeois'=> 'lu',
    'Lituanien'   => 'lt',
    'Letton'      => 'lv',
    'Malgache'    => 'mg',
    'Mongol'      => 'mn',
    'Norvégien'   => 'no',
    'Népalais'    => 'np',
    'Polonais'    => 'pl',
    'Roumain'     => 'ro',
    'Slovaque'    => 'sk',
    'Slovène'     => 'si',
    'Albanais'    => 'al',
    'Serbe'       => 'rs',
    'Soundanais'  => 'id',
    'Suédois'     => 'se',
    'Thaï'        => 'th',
    'Turc'        => 'tr',
    'Ukrainien'   => 'ua',
    'Ouzbek'      => 'uz',
    'Vietnamien'  => 'vn',
    'Zoulou'      => 'zu' // Afrique du Sud
  )
);

// Les ID riplay des mules
$config['riplay_mules'] = array(
  // toutes les mules
  'all'   => array(
    '500000001056', '500000001649', '500000002348', '500000001845', '500000001387', '500000002090', '500000000153',
    '500000001062', '500000000001', '500000003567', '500000003568',
    // Benoit : nouvelles mules 2 avril 2015
    '500000007110', '500000007111', '500000007112', '500000007114', '500000007115', '500000007116', '500000007118',
    '500000007119', '500000007120', '500000007121', '500000007122', '500000007123', '500000007124', '500000007125',
    '500000007126', '500000007127', '500000007128', '500000007129', '500000007130', '500000007131', '500000007132',
    '500000007133', '500000007135', '500000007136',
    // Ajout de compte de julien le 2 octobre
    '500000013116', '500000013111', '500000013112', '500000013114', '500000013115', '500000013113'
  ),
  // On met les "fausses mules", qui sont des comptes de test pour Julien
  // mais qu'on ne veut pas tagger comme mules dans Gravity
  'fake'  => array('500000013116', '500000013111', '500000013112', '500000013114', '500000013115', '500000013113'),
  // Vendeur de neuf
  'new'   => array('500000002348')
);

$config['bonus_account_id'] = array('500000001651');
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta name="robots" content="noindex,nofollow" />
        <style>
            /* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html */
            html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}

            html { background: #eee; padding: 10px }
            img { border: 0; }
            #sf-resetcontent { width:970px; margin:0 auto; }
                        .sf-reset { font: 11px Verdana, Arial, sans-serif; color: #333 }
            .sf-reset .clear { clear:both; height:0; font-size:0; line-height:0; }
            .sf-reset .clear_fix:after { display:block; height:0; clear:both; visibility:hidden; }
            .sf-reset .clear_fix { display:inline-block; }
            .sf-reset * html .clear_fix { height:1%; }
            .sf-reset .clear_fix { display:block; }
            .sf-reset, .sf-reset .block { margin: auto }
            .sf-reset abbr { border-bottom: 1px dotted #000; cursor: help; }
            .sf-reset p { font-size:14px; line-height:20px; color:#868686; padding-bottom:20px }
            .sf-reset strong { font-weight:bold; }
            .sf-reset a { color:#6c6159; cursor: default; }
            .sf-reset a img { border:none; }
            .sf-reset a:hover { text-decoration:underline; }
            .sf-reset em { font-style:italic; }
            .sf-reset h1, .sf-reset h2 { font: 20px Georgia, "Times New Roman", Times, serif }
            .sf-reset .exception_counter { background-color: #fff; color: #333; padding: 6px; float: left; margin-right: 10px; float: left; display: block; }
            .sf-reset .exception_title { margin-left: 3em; margin-bottom: 0.7em; display: block; }
            .sf-reset .exception_message { margin-left: 3em; display: block; }
            .sf-reset .traces li { font-size:12px; padding: 2px 4px; list-style-type:decimal; margin-left:20px; }
            .sf-reset .block { background-color:#FFFFFF; padding:10px 28px; margin-bottom:20px;
                -webkit-border-bottom-right-radius: 16px;
                -webkit-border-bottom-left-radius: 16px;
                -moz-border-radius-bottomright: 16px;
                -moz-border-radius-bottomleft: 16px;
                border-bottom-right-radius: 16px;
                border-bottom-left-radius: 16px;
                border-bottom:1px solid #ccc;
                border-right:1px solid #ccc;
                border-left:1px solid #ccc;
            }
            .sf-reset .block_exception { background-color:#ddd; color: #333; padding:20px;
                -webkit-border-top-left-radius: 16px;
                -webkit-border-top-right-radius: 16px;
                -moz-border-radius-topleft: 16px;
                -moz-border-radius-topright: 16px;
                border-top-left-radius: 16px;
                border-top-right-radius: 16px;
                border-top:1px solid #ccc;
                border-right:1px solid #ccc;
                border-left:1px solid #ccc;
                overflow: hidden;
                word-wrap: break-word;
            }
            .sf-reset a { background:none; color:#868686; text-decoration:none; }
            .sf-reset a:hover { background:none; color:#313131; text-decoration:underline; }
            .sf-reset ol { padding: 10px 0; }
            .sf-reset h1 { background-color:#FFFFFF; padding: 15px 28px; margin-bottom: 20px;
                -webkit-border-radius: 10px;
                -moz-border-radius: 10px;
                border-radius: 10px;
                border: 1px solid #ccc;
            }
        </style>
    </head>
    <body>
                    <div id="sf-resetcontent" class="sf-reset">
                <h1>Whoops, looks like something went wrong.</h1>
                
            </div>
    </body>
</html>