function get_Domaine() { return 'reseaux-discount.com'; } function get_Url(action, controller){ return '/Index/faq' .replace('faq', action) .replace('Index', controller); } function get_Url_Full(action, controller){ return 'https://www.reseaux-discount.com' + get_Url(action, controller); }