Ajout configuration stockage des fichiers
This commit is contained in:
parent
b428e8af4d
commit
db9d30e788
@ -60,6 +60,7 @@ function writeConfig()
|
|||||||
|
|
||||||
$arrayConfig = array(
|
$arrayConfig = array(
|
||||||
'mysql.php',
|
'mysql.php',
|
||||||
|
'stockage.php',
|
||||||
);
|
);
|
||||||
foreach($arrayConfig as $config) {
|
foreach($arrayConfig as $config) {
|
||||||
passthru('cp -v '.
|
passthru('cp -v '.
|
||||||
|
8
config/sdsrvdev01/stockage.php
Normal file
8
config/sdsrvdev01/stockage.php
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
/** Dossiers locaux pour les documents a telecharger (PDF kbis, marques, etc...) **/
|
||||||
|
define('DOC_WEB_LOCAL', '/sites/dataenrichissement/');
|
||||||
|
define('DOC_WEB_URL', '/data/');
|
||||||
|
|
||||||
|
/** LOGGING **/
|
||||||
|
define('LOG_PATH', '/sites/dataenrichissement/log/');
|
||||||
|
|
23
config/stockage.php
Normal file
23
config/stockage.php
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<?php
|
||||||
|
define('BODACC_LOCAL_DIR', '/home/data/bodacc/');
|
||||||
|
define('JAL_LOCAL_DIR', '/home/data/jal/');
|
||||||
|
|
||||||
|
define('HUGIN_LOCAL_DIR', '/home/data/infosreg/hugin/');
|
||||||
|
|
||||||
|
define('ACTUSNEWS_LOCAL_DIR', '/home/data/infosreg/actusnews/');
|
||||||
|
|
||||||
|
define('DIRELEASE_LOCAL_DIR', '/home/data/infosreg/direlease/');
|
||||||
|
|
||||||
|
define('LESECHOS_LOCAL_DIR', '/home/data/infosreg/lesechos/');
|
||||||
|
|
||||||
|
/** Paramètres du FTP de BusinessWire : Communiqués de presse **/
|
||||||
|
define('BUSINESSWIRE_LOCAL_DIR_INCOMING', '/home/data/ftp/businesswire/');
|
||||||
|
define('BUSINESSWIRE_LOCAL_DIR', '/home/data/infosreg/businesswire/');
|
||||||
|
|
||||||
|
/** Dossiers locaux pour les documents a telecharger (PDF kbis, marques, etc...) **/
|
||||||
|
define('DOC_WEB_LOCAL', realpath('d:/www/dataws/').'/');
|
||||||
|
define('DOC_WEB_URL', '/data/');
|
||||||
|
|
||||||
|
/** LOGGING **/
|
||||||
|
define('LOG_PATH', realpath('d:/www/dataws/log/'));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user