2012-07-05 14:08:21 +00:00
|
|
|
<?php
|
|
|
|
define('INCLUDE_PATH', realpath(dirname(__FILE__)).'/');
|
|
|
|
|
|
|
|
/** BATCH **/
|
|
|
|
define('FILLER',' ');
|
|
|
|
define('VERSION_FICHIER_BODACC','0106');
|
|
|
|
define('LONGUEUR_LIGNE_SORTIE', 2000);
|
2012-07-05 14:12:59 +00:00
|
|
|
|
2012-07-05 14:08:21 +00:00
|
|
|
|
2012-08-09 13:19:03 +00:00
|
|
|
/** Paramétres du FTP des JO **/
|
2012-07-05 14:08:21 +00:00
|
|
|
define('BODACC_FTP_URL', 'ftp.journal-officiel.gouv.fr');
|
|
|
|
define('BODACC_FTP_USER', 'SCORE');
|
|
|
|
define('BODACC_FTP_PASS', 'SD075');
|
2012-07-05 14:12:59 +00:00
|
|
|
define('BODACC_LOCAL_DIR', '/home/data/sources/bodacc/');
|
|
|
|
define('JAL_LOCAL_DIR', '/home/data/sources/jal/');
|
2012-07-05 14:08:21 +00:00
|
|
|
|
2012-08-09 13:19:03 +00:00
|
|
|
/** Paramétres du FTP de Hugin : Communiqués de presse **/
|
2012-07-05 14:08:21 +00:00
|
|
|
define('HUGIN_FTP_URL', 'ftp.companynews.fr');
|
|
|
|
define('HUGIN_FTP_USER', 'scores');
|
|
|
|
define('HUGIN_FTP_PASS', 'scores_632');
|
2012-07-05 14:12:59 +00:00
|
|
|
define('HUGIN_LOCAL_DIR', '/home/data/sources/infosreg/hugin/');
|
2012-07-05 14:08:21 +00:00
|
|
|
|
2012-08-09 13:19:03 +00:00
|
|
|
/** Paramétres du FTP de ActusNews : Communiqués de presse **/
|
2012-07-05 14:08:21 +00:00
|
|
|
define('ACTUSNEWS_FTP_URL', 'ftp.actusnews.com');
|
|
|
|
define('ACTUSNEWS_FTP_USER', 'scores_act');
|
|
|
|
define('ACTUSNEWS_FTP_PASS', '6_etIwL');
|
2012-07-05 14:12:59 +00:00
|
|
|
define('ACTUSNEWS_LOCAL_DIR', '/home/data/sources/infosreg/actusnews/');
|
2012-07-05 14:08:21 +00:00
|
|
|
|
2012-08-09 13:19:03 +00:00
|
|
|
/** Paramétres du FTP de Di Release : Communiqués de presse **/
|
2012-07-05 14:08:21 +00:00
|
|
|
define('DIRELEASE_FTP_URL', 'ftp.actusnews.com');
|
|
|
|
define('DIRELEASE_FTP_USER', 'scores_dir');
|
|
|
|
define('DIRELEASE_FTP_PASS', '-gT52sQ');
|
2012-07-05 14:12:59 +00:00
|
|
|
define('DIRELEASE_LOCAL_DIR', '/home/data/sources/infosreg/direlease/');
|
2012-07-05 14:08:21 +00:00
|
|
|
|
2012-08-09 13:19:03 +00:00
|
|
|
/** Paramétres du FTP des Echos: Communiqués de presse **/
|
2012-07-05 14:08:21 +00:00
|
|
|
define('LESECHOS_FTP_URL', 'ftp.webdisclosure.com');
|
|
|
|
define('LESECHOS_FTP_USER', 'Scores');
|
|
|
|
define('LESECHOS_FTP_PASS', 'scores2001');
|
2012-07-05 14:12:59 +00:00
|
|
|
define('LESECHOS_LOCAL_DIR', '/home/data/sources/infosreg/lesechos/');
|
2012-07-05 14:08:21 +00:00
|
|
|
|
2012-08-09 13:19:03 +00:00
|
|
|
/** Paramétres du FTP de BusinessWire : Communiqués de presse **/
|
2012-07-05 14:08:21 +00:00
|
|
|
define('BUSINESSWIRE_LOCAL_DIR_INCOMING', '/home/data/ftp/businesswire/');
|
|
|
|
define('BUSINESSWIRE_LOCAL_DIR', '/home/data/infosreg/businesswire/');
|
|
|
|
|
2012-08-09 13:19:03 +00:00
|
|
|
/** Base de données de S&D **/
|
2012-07-05 14:12:59 +00:00
|
|
|
define ('MYSQL_HOST', '192.168.3.30');
|
2012-07-05 14:08:21 +00:00
|
|
|
define ('MYSQL_USER', 'wsuser');
|
2012-07-05 14:12:59 +00:00
|
|
|
define ('MYSQL_PASS', 'wspass2012');
|
2012-07-05 14:08:21 +00:00
|
|
|
define ('MYSQL_DEFAULT_DB', 'jo');
|
|
|
|
define ('MYSQL_SQL_LOG', 'NONE');
|
|
|
|
|
|
|
|
define ('SPHINX_HOST', '192.168.3.32');
|
|
|
|
define ('SPHINX_PORT', 9312);
|
|
|
|
|
|
|
|
define ('SPHINX_ENT_HOST', '192.168.3.32');
|
|
|
|
define ('SPHINX_ENT_PORT', 9312);
|
|
|
|
|
|
|
|
define ('SPHINX_DIR_HOST', '192.168.3.32');
|
|
|
|
define ('SPHINX_DIR_PORT', 9312);
|
|
|
|
|
2012-07-05 14:12:59 +00:00
|
|
|
define ('SPHINX_ACT_HOST', '192.168.3.25');
|
|
|
|
define ('SPHINX_ACT_PORT', 3312);
|
2012-07-05 14:08:21 +00:00
|
|
|
|
2012-07-05 14:12:59 +00:00
|
|
|
define ('SPHINX_HISTO_HOST', '192.168.3.25');
|
|
|
|
define ('SPHINX_HISTO_PORT', 3312);
|
2012-07-05 14:08:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
/** SERVEUR DE MESSAGERIE **/
|
2012-07-05 14:12:59 +00:00
|
|
|
define ('SMTP_HOST', 'smtp.celeste.fr');
|
2012-07-05 14:08:21 +00:00
|
|
|
define ('SMTP_PORT', 25);
|
|
|
|
define ('SMTP_USER', '');
|
|
|
|
define ('SMTP_PASS', '');
|
|
|
|
|
|
|
|
/** INFOGREFFE **/
|
|
|
|
define('INFOGREFFE_DISPO', true);
|
|
|
|
define('INFOGREFFE_DISPO_WS', true);
|
|
|
|
define('INFOGREFFE_DISPO_WEB', true);
|
|
|
|
define('INFOGREFFE_WS_URL', 'https://webservices.infogreffe.fr/WSContextInfogreffe/INFOGREFFE');
|
|
|
|
define('INFOGREFFE_WS_URI', 'https://webservices.infogreffe.fr/');
|
|
|
|
define('INFOGREFFE_WS_USER', '85000109');
|
|
|
|
define('INFOGREFFE_WS_PASS', '166');
|
|
|
|
|
|
|
|
/** AMABIS **/
|
|
|
|
define('AMABIS_WS_URL', 'http://sw4.amabis.com:5101');
|
|
|
|
define('AMABIS_WS_URI', 'http://sw4.amabis.com:5101');
|
|
|
|
|
|
|
|
/** Dossiers locaux pour les documents a telecharger (PDF kbis, marques, etc...) **/
|
2012-07-05 14:12:59 +00:00
|
|
|
define ('DOC_WEB_LOCAL', '/home/data/datafile/');
|
2012-07-05 14:08:21 +00:00
|
|
|
define ('DOC_WEB_URL', '/data/');
|
|
|
|
|
|
|
|
/** LOGGING **/
|
2012-07-05 14:47:11 +00:00
|
|
|
define('LOG_PATH', '/home/data/sources/log');
|
|
|
|
|
|
|
|
define ('DATETIME', date('YmdHis'));
|
|
|
|
define ('DATE', substr(DATETIME,0,8));
|
|
|
|
define ('TIME', substr(DATETIME,8,6));
|
|
|
|
define ('DATE_LISIBLE', substr(DATETIME,6,2).'/'.substr(DATETIME,4,2).'/'.substr(DATETIME,0,4));
|
|
|
|
define ('TIME_LISIBLE', substr(DATETIME,8,2).':'.substr(DATETIME,10,2).':'.substr(DATETIME,12,2));
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Inclusion du Framework
|
|
|
|
*/
|
|
|
|
if( !defined('FWK_PATH') )
|
|
|
|
include_once realpath(dirname(__FILE__).'/../framework/fwk.php');
|