Delete file include in ansible
This commit is contained in:
parent
2988c62bad
commit
1218dd36cd
@ -91,7 +91,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
||||
$front = $this->getResource('frontController');
|
||||
$router = $front->getRouter();
|
||||
|
||||
//Lire les services disponibles et créer les routes
|
||||
// Lire les services disponibles et créer les routes
|
||||
$services = require_once APPLICATION_PATH . '/../library/WsScore/ServicesConfig.php';
|
||||
foreach( $services as $section => $params ) {
|
||||
if ($params['actif']) {
|
||||
@ -105,7 +105,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
||||
}
|
||||
}
|
||||
|
||||
//Route pour WS Clients
|
||||
// Route pour WS Clients
|
||||
$route = new Zend_Controller_Router_Route('clients/:client/:version', array(
|
||||
'controller' => 'service',
|
||||
'action' => 'index',
|
||||
@ -125,7 +125,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
||||
|
||||
protected function _initDb()
|
||||
{
|
||||
$c = Zend_Registry::get('config');
|
||||
$c = new Zend_Config($this->getOptions());
|
||||
try {
|
||||
$db = Zend_Db::factory($c->profil->db->metier);
|
||||
} catch ( Exception $e ) {
|
||||
@ -137,8 +137,28 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
||||
exit;
|
||||
}
|
||||
|
||||
$pdo = new Metier_Util_PdoLib();
|
||||
if ($pdo === false) {
|
||||
/**
|
||||
* Set the default adapter to use with all model
|
||||
*/
|
||||
Zend_Db_Table::setDefaultAdapter($db);
|
||||
}
|
||||
|
||||
protected function _initDoctrine()
|
||||
{
|
||||
$c = new Zend_Config($this->getOptions());
|
||||
$config = new \Doctrine\DBAL\Configuration();
|
||||
$connectionParams = array(
|
||||
'dbname' => $c->profil->db->metier->params->dbname,
|
||||
'user' => $c->profil->db->metier->params->username,
|
||||
'password' => $c->profil->db->metier->params->password,
|
||||
'host' => $c->profil->db->metier->params->host,
|
||||
'charset' => 'utf8',
|
||||
'driver' => 'pdo_mysql',
|
||||
);
|
||||
|
||||
try {
|
||||
$conn = \Doctrine\DBAL\DriverManager::getConnection($connectionParams, $config);
|
||||
} catch (\Doctrine\DBAL\DBALException $e) {
|
||||
if (APPLICATION_ENV == 'development') {
|
||||
echo '<pre>'; print_r($e); echo '</pre>';
|
||||
} else {
|
||||
@ -146,12 +166,8 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
||||
}
|
||||
exit;
|
||||
}
|
||||
Zend_Registry::set('pdo', $pdo);
|
||||
|
||||
/**
|
||||
* Set the default adapter to use with all model
|
||||
*/
|
||||
Zend_Db_Table::setDefaultAdapter($db);
|
||||
Zend_Registry::set('doctrine', $conn);
|
||||
}
|
||||
|
||||
protected function _initCache()
|
||||
|
@ -1,19 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `bilans` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`siren` int(9) unsigned zerofill NOT NULL,
|
||||
`dateProvPartenaire` int(8) unsigned NOT NULL,
|
||||
`dateExercice` int(8) unsigned NOT NULL,
|
||||
`dateExercicePre` int(8) unsigned NOT NULL,
|
||||
`dureeExercice` tinyint(2) unsigned NOT NULL DEFAULT '0',
|
||||
`dureeExercicePre` tinyint(2) unsigned NOT NULL DEFAULT '0',
|
||||
`monnaie` char(3) NOT NULL COMMENT 'Code devise du bilan stocké en base selon la ISO 4217 (3 lettres)',
|
||||
`typeBilan` char(1) NOT NULL DEFAULT '',
|
||||
`monnaieOrigine` char(3) NOT NULL COMMENT 'Code devise d''origine selon la ISO 4217 (3 lettres)',
|
||||
`unite` char(1) NOT NULL DEFAULT '',
|
||||
`postes` text NOT NULL,
|
||||
`partenaire` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||
`confidentiel` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||
`dateInsert` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `dateInsert` (`dateInsert`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Bilans';
|
@ -1,14 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `asso_actes` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`siren` varchar(9) DEFAULT NULL COMMENT 'Siren',
|
||||
`waldec` varchar(15) DEFAULT NULL COMMENT 'Numéro R.N.A',
|
||||
`pdfLink` varchar(50) NOT NULL COMMENT 'Nom du PDF',
|
||||
`pdfSize` int(11) NOT NULL COMMENT 'Taille du PDF en octets',
|
||||
`pdfVer` varchar(4) NOT NULL COMMENT 'Version du fichier PDF',
|
||||
`pdfPage` int(2) NOT NULL COMMENT 'Nombre de pages',
|
||||
`date_acte` date NOT NULL COMMENT 'Date de l''acte',
|
||||
`type_acte` varchar(5) NOT NULL COMMENT 'Type de l''acte (info)',
|
||||
`type_acte_libelle` varchar(100) NOT NULL COMMENT 'Libellé du type de l''acte',
|
||||
`dateInsert` datetime NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Statuts des associations' ;
|
@ -1,10 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `bilans_user` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`idUtilisateur` int(11) NOT NULL COMMENT 'Identifiant de l''opérateur ayant modifié le bilan',
|
||||
`login` varchar(20) NOT NULL COMMENT 'Login de l''opérateur ayant modifié le bilan',
|
||||
`siren` int(9) unsigned zerofill NOT NULL COMMENT 'Siren du bilan modifié',
|
||||
`dateExercice` int(8) NOT NULL COMMENT 'Date de clôture du bilan modifié',
|
||||
`typeBilan` char(1) NOT NULL COMMENT 'Type de bilan modifié',
|
||||
`dateAction` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Modifications de bilans faites par des opérateurs S&D';
|
@ -1,14 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `scores_cutoff_mvt` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`siren` int(9) NOT NULL COMMENT 'Siren de l''''entité pour laquelle il faut appliquer un contour du score et/ou de l''''encours',
|
||||
`encours` int(10) DEFAULT NULL COMMENT 'Encours en euros',
|
||||
`scoreSolv` tinyint(3) DEFAULT NULL COMMENT 'Indiscore 100',
|
||||
`scoreDir` tinyint(3) DEFAULT NULL COMMENT 'Note de dirigeance sur 100',
|
||||
`scoreConf` tinyint(3) DEFAULT NULL COMMENT 'Note de conformité sur 100',
|
||||
`remarque` longtext NOT NULL COMMENT 'Remarque afin de savoir pourquoi il y a ce contour',
|
||||
`idInsert` int(11) NOT NULL COMMENT 'user id',
|
||||
`dateInsert` datetime NOT NULL COMMENT 'Date de création du contour',
|
||||
`idMvt` int(11) NOT NULL COMMENT 'user id',
|
||||
`dateMvt` datetime NOT NULL COMMENT 'Date historisation',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Historique des contours pour les Indiscore' ;
|
@ -1,16 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `sfr_data` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`NumSeq` varchar(10) NOT NULL,
|
||||
`siren` varchar(9) NOT NULL,
|
||||
`NbLignes` int(11) NOT NULL,
|
||||
`NbContrats` int(11) NOT NULL,
|
||||
`DateContrat` varchar(8) NOT NULL,
|
||||
`IR` float NOT NULL,
|
||||
`IdVOR` varchar(10) NOT NULL,
|
||||
`comment` text NOT NULL,
|
||||
`PO` float NOT NULL,
|
||||
`debug` text NOT NULL,
|
||||
`error` int(11) NOT NULL,
|
||||
`dateInsert` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ;
|
@ -1,281 +0,0 @@
|
||||
-- phpMyAdmin SQL Dump
|
||||
-- version 4.0.4.1
|
||||
-- http://www.phpmyadmin.net
|
||||
--
|
||||
-- Client: 192.168.78.230
|
||||
-- Généré le: Mar 27 Août 2013 à 08:37
|
||||
-- Version du serveur: 5.5.32-0ubuntu0.12.04.1
|
||||
-- Version de PHP: 5.3.10-1ubuntu3.7
|
||||
|
||||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||||
SET time_zone = "+00:00";
|
||||
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!40101 SET NAMES utf8 */;
|
||||
|
||||
--
|
||||
-- Base de données: `jo`
|
||||
--
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Structure de la table `sfr_params_10`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `sfr_params_10` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`type` varchar(5) NOT NULL,
|
||||
`codif` int(11) NOT NULL,
|
||||
`ordre` int(11) NOT NULL,
|
||||
`var` varchar(50) NOT NULL,
|
||||
`cond` varchar(10) NOT NULL,
|
||||
`value` varchar(50) NOT NULL,
|
||||
`define` varchar(50) NOT NULL,
|
||||
`define_value` varchar(10) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=485 ;
|
||||
|
||||
--
|
||||
-- Contenu de la table `sfr_params_10`
|
||||
--
|
||||
|
||||
INSERT INTO `sfr_params_10` (`id`, `type`, `codif`, `ordre`, `var`, `cond`, `value`, `define`, `define_value`) VALUES
|
||||
(1, 'VORP', 1, 1, 'IsCAC', 'EGAL', '1', 'TypeEntrep', 'CAC'),
|
||||
(2, 'VORP', 1, 2, 'Effectif', 'MIN', '499', 'TypeEntrep', 'GE'),
|
||||
(3, 'VORP', 1, 3, 'Effectif', 'MIN', '3', 'TypeEntrep', 'PME'),
|
||||
(4, 'VORP', 1, 4, 'Effectif', 'MIN', '-1', 'TypeEntrep', 'TPE'),
|
||||
(5, 'VORP', 1, 5, 'Effectif', 'EGAL', 'UNDEFINE', 'TypeEntrep', 'TPE'),
|
||||
(6, 'VORP', 2, 1, 'NAF', 'LIST', 'TabAdminNaf', 'IsAdmin', '1'),
|
||||
(7, 'VORP', 3, 1, 'FJ', 'LIST', 'TabAdminFj', 'IsAdmin', '1'),
|
||||
(8, 'VORP', 4, 1, 'NAF', 'LIST', 'TabEtrangerNaf', 'IsEtranger', '1'),
|
||||
(9, 'VORP', 5, 1, 'FJ', 'LIST', 'TabEtrangerFj', 'IsEtranger', '1'),
|
||||
(10, 'VORP', 6, 1, 'Indiscore', 'MAX', '6', '', ''),
|
||||
(11, 'VORP', 6, 2, 'RJ', 'EGAL', '1', '', ''),
|
||||
(12, 'VORP', 7, 1, 'Indiscore', 'MAX', '6', '', ''),
|
||||
(13, 'VORP', 7, 2, 'LJ', 'EGAL', '1', '', ''),
|
||||
(14, 'VORP', 8, 1, 'Indiscore', 'MAX', '6', '', ''),
|
||||
(15, 'VORP', 8, 2, 'SV', 'EGAL', '1', '', ''),
|
||||
(16, 'VORP', 9, 1, 'Indiscore', 'MAX', '6', '', ''),
|
||||
(17, 'VORP', 9, 2, 'InseeActif', 'EGAL', '0', '', ''),
|
||||
(18, 'VORP', 10, 1, 'Indiscore', 'MAX', '16', '', ''),
|
||||
(19, 'VORP', 10, 2, 'Indiscore', 'MIN', '9', '', ''),
|
||||
(20, 'VORP', 10, 3, 'InseeAge', 'MAX', '37', 'EntrepRecente', '1'),
|
||||
(21, 'VORP', 10, 4, 'TypeEntrep', 'MIN', 'PME', '', ''),
|
||||
(22, 'VORP', 11, 1, 'Indiscore', 'MAX', '6', '', ''),
|
||||
(23, 'VORP', 12, 1, 'Indiscore', 'MAX', '10', '', ''),
|
||||
(24, 'VORP', 12, 2, 'Indiscore', 'MIN', '5', '', ''),
|
||||
(25, 'VORP', 13, 1, 'Indiscore', 'MAX', '21', '', ''),
|
||||
(26, 'VORP', 13, 2, 'Indiscore', 'MIN', '9', '', ''),
|
||||
(27, 'VORP', 14, 1, 'FEU', 'EGAL', 'ROUGE', '', ''),
|
||||
(28, 'VORP', 14, 2, 'SV', 'EGAL', '1', '', ''),
|
||||
(29, 'VORP', 14, 3, 'Indiscore', 'MIN', '4', '', ''),
|
||||
(30, 'VORP', 15, 1, 'TypeEntrep', 'EGAL', 'GE', '', ''),
|
||||
(31, 'VORP', 15, 2, 'Indiscore', 'EGAL', '9', '', ''),
|
||||
(32, 'VORP', 16, 1, 'TypeEntrep', 'EGAL', 'CAC', '', ''),
|
||||
(33, 'VORP', 16, 2, 'Indiscore', 'MIN', '5', '', ''),
|
||||
(34, 'VORD', 1, 1, 'ContratAge', 'EGAL', 'UNDEFINE', '', ''),
|
||||
(35, 'VORD', 1, 2, 'IR', 'EGAL', 'UNDEFINE', '', ''),
|
||||
(36, 'VORD', 3, 1, 'ContratAge', 'MIN', '-1', '', ''),
|
||||
(37, 'VORD', 3, 2, 'IR', 'EGAL', 'UNDEFINE', 'IR', '8'),
|
||||
(38, 'VORD', 4, 1, 'FEU', 'EGAL', 'VERT', '', ''),
|
||||
(39, 'VORD', 4, 2, 'IR', 'MIN', '4,9', '', ''),
|
||||
(40, 'VORD', 4, 3, 'IR', 'MAX', '7,1', '', ''),
|
||||
(41, 'VORD', 4, 4, 'ContratAge', 'MAX', '25', '', ''),
|
||||
(42, 'VORD', 4, 5, 'Indiscore', 'MIN', '9', '', ''),
|
||||
(43, 'VORD', 4, 6, 'Indiscore', 'MAX', '12', '', ''),
|
||||
(44, 'VORD', 5, 1, 'FEU', 'EGAL', 'VERT', '', ''),
|
||||
(45, 'VORD', 5, 2, 'IR', 'MIN', '4,9', '', ''),
|
||||
(46, 'VORD', 5, 3, 'IR', 'MAX', '7,1', '', ''),
|
||||
(47, 'VORD', 5, 4, 'ContratAge', 'MIN', '24', '', ''),
|
||||
(48, 'VORD', 5, 5, 'ContratAge', 'MAX', '36', '', ''),
|
||||
(49, 'VORD', 5, 6, 'Indiscore', 'MIN', '9', '', ''),
|
||||
(50, 'VORD', 5, 7, 'Indiscore', 'MAX', '12', '', ''),
|
||||
(51, 'VORD', 6, 1, 'FEU', 'EGAL', 'VERT', '', ''),
|
||||
(52, 'VORD', 6, 2, 'IR', 'MIN', '4,9', '', ''),
|
||||
(53, 'VORD', 6, 3, 'IR', 'MAX', '7,1', '', ''),
|
||||
(54, 'VORD', 6, 4, 'ContratAge', 'MIN', '23', '', ''),
|
||||
(55, 'VORD', 6, 5, 'Indiscore', 'MIN', '11', '', ''),
|
||||
(56, 'VORD', 6, 6, 'Indiscore', 'MAX', '14', '', ''),
|
||||
(57, 'VORD', 7, 1, 'FEU', 'EGAL', 'ORANGE', '', ''),
|
||||
(58, 'VORD', 7, 2, 'IR', 'MAX', '2,1', '', ''),
|
||||
(59, 'VORD', 7, 3, 'ContratAge', 'MIN', '35', '', ''),
|
||||
(60, 'VORD', 8, 1, 'FEU', 'EGAL', 'ORANGE', '', ''),
|
||||
(61, 'VORD', 8, 2, 'IR', 'MIN', '2', '', ''),
|
||||
(62, 'VORD', 8, 3, 'IR', 'MAX', '5', '', ''),
|
||||
(63, 'VORD', 8, 4, 'ContratAge', 'MIN', '36', '', ''),
|
||||
(64, 'VORD', 8, 5, 'Indiscore', 'MAX', '7', '', ''),
|
||||
(65, 'VORD', 9, 6, 'FEU', 'EGAL', 'ORANGE', '', ''),
|
||||
(66, 'VORD', 9, 7, 'EntrepRecente', 'EGAL', '1', '', ''),
|
||||
(67, 'VORD', 9, 8, 'IR', 'MAX', '2,1', '', ''),
|
||||
(68, 'VORD', 9, 9, 'ContratAge', 'MAX', '36', '', ''),
|
||||
(69, 'VORD', 10, 1, 'FEU', 'EGAL', 'ORANGE', '', ''),
|
||||
(70, 'VORD', 10, 2, 'EntrepRecente', 'EGAL', '1', '', ''),
|
||||
(71, 'VORD', 10, 3, 'ContratAge', 'MAX', '25', '', ''),
|
||||
(72, 'VORD', 10, 4, 'IR', 'MIN', '4,9', '', ''),
|
||||
(73, 'VORD', 10, 5, 'IR', 'MAX', '7,1', '', ''),
|
||||
(74, 'VORD', 10, 6, 'Indiscore', 'MIN', '9', '', ''),
|
||||
(75, 'VORD', 10, 7, 'Indiscore', 'MAX', '12', '', ''),
|
||||
(76, 'VORD', 11, 8, 'FEU', 'EGAL', 'ORANGE', '', ''),
|
||||
(77, 'VORD', 11, 9, 'EntrepRecente', 'EGAL', '1', '', ''),
|
||||
(78, 'VORD', 11, 10, 'IR', 'MIN', '4,9', '', ''),
|
||||
(79, 'VORD', 11, 11, 'IR', 'MAX', '7,1', '', ''),
|
||||
(80, 'VORD', 11, 12, 'ContratAge', 'MIN', '36', '', ''),
|
||||
(81, 'VORD', 11, 13, 'Indiscore', 'MIN', '11', '', ''),
|
||||
(82, 'VORD', 12, 14, 'FEU', 'EGAL', 'ORANGE', '', ''),
|
||||
(83, 'VORD', 12, 15, 'EntrepRecente', 'EGAL', '1', '', ''),
|
||||
(84, 'VORD', 12, 16, 'IR', 'MIN', '4,9', '', ''),
|
||||
(85, 'VORD', 12, 17, 'IR', 'MAX', '7,1', '', ''),
|
||||
(86, 'VORD', 12, 18, 'ContratAge', 'MIN', '24', '', ''),
|
||||
(87, 'VORD', 12, 19, 'Indiscore', 'MIN', '13', '', ''),
|
||||
(88, 'VORD', 13, 1, 'FEU', 'EGAL', 'ROUGE', '', ''),
|
||||
(89, 'VORD', 13, 2, 'IR', 'MIN', '2', '', ''),
|
||||
(90, 'VORD', 13, 3, 'IR', 'MAX', '5', '', ''),
|
||||
(91, 'VORD', 13, 4, 'ContratAge', 'MIN', '36', '', ''),
|
||||
(92, 'VORD', 13, 5, 'Indiscore', 'MIN', '3', '', ''),
|
||||
(93, 'PO', 1, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(94, 'PO', 1, 2, 'Indiscore', 'EGAL', '6', '', ''),
|
||||
(95, 'PO', 1, 3, 'TypeEntrep', 'EGAL', 'GE', '', ''),
|
||||
(96, 'PO', 2, 1, 'InseeAge', 'MAX', '4', '', ''),
|
||||
(97, 'PO', 2, 2, 'Indiscore', 'EGAL', '7', '', ''),
|
||||
(98, 'PO', 2, 3, 'TypeEntrep', 'EGAL', 'GE', '', ''),
|
||||
(99, 'PO', 3, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(100, 'PO', 3, 2, 'Indiscore', 'EGAL', '8', '', ''),
|
||||
(101, 'PO', 3, 3, 'TypeEntrep', 'EGAL', 'GE', '', ''),
|
||||
(102, 'PO', 4, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(103, 'PO', 4, 2, 'Indiscore', 'EGAL', '9', '', ''),
|
||||
(104, 'PO', 4, 3, 'TypeEntrep', 'EGAL', 'GE', '', ''),
|
||||
(105, 'PO', 5, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(106, 'PO', 5, 2, 'Indiscore', 'EGAL', '10', '', ''),
|
||||
(107, 'PO', 5, 3, 'TypeEntrep', 'EGAL', 'GE', '', ''),
|
||||
(108, 'PO', 6, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(109, 'PO', 6, 2, 'Indiscore', 'EGAL', '11', '', ''),
|
||||
(110, 'PO', 6, 3, 'TypeEntrep', 'EGAL', 'GE', '', ''),
|
||||
(111, 'PO', 7, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(112, 'PO', 7, 2, 'Indiscore', 'EGAL', '12', '', ''),
|
||||
(113, 'PO', 7, 3, 'TypeEntrep', 'EGAL', 'GE', '', ''),
|
||||
(114, 'PO', 8, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(115, 'PO', 8, 2, 'Indiscore', 'EGAL', '13', '', ''),
|
||||
(116, 'PO', 8, 3, 'TypeEntrep', 'EGAL', 'GE', '', ''),
|
||||
(117, 'PO', 9, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(118, 'PO', 9, 2, 'Indiscore', 'EGAL', '14', '', ''),
|
||||
(119, 'PO', 9, 3, 'TypeEntrep', 'EGAL', 'GE', '', ''),
|
||||
(120, 'PO', 10, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(121, 'PO', 10, 2, 'Indiscore', 'EGAL', '6', '', ''),
|
||||
(122, 'PO', 10, 3, 'TypeEntrep', 'EGAL', 'PME', '', ''),
|
||||
(123, 'PO', 11, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(124, 'PO', 11, 2, 'Indiscore', 'EGAL', '7', '', ''),
|
||||
(125, 'PO', 11, 3, 'TypeEntrep', 'EGAL', 'PME', '', ''),
|
||||
(126, 'PO', 12, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(127, 'PO', 12, 2, 'Indiscore', 'EGAL', '8', '', ''),
|
||||
(128, 'PO', 12, 3, 'TypeEntrep', 'EGAL', 'PME', '', ''),
|
||||
(129, 'PO', 13, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(130, 'PO', 13, 2, 'Indiscore', 'EGAL', '9', '', ''),
|
||||
(131, 'PO', 13, 3, 'TypeEntrep', 'EGAL', 'PME', '', ''),
|
||||
(132, 'PO', 14, 1, 'InseeAge', 'MAX', '4', '', ''),
|
||||
(133, 'PO', 14, 2, 'Indiscore', 'EGAL', '10', '', ''),
|
||||
(134, 'PO', 14, 3, 'TypeEntrep', 'EGAL', 'PME', '', ''),
|
||||
(135, 'PO', 15, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(136, 'PO', 15, 2, 'Indiscore', 'EGAL', '11', '', ''),
|
||||
(137, 'PO', 15, 3, 'TypeEntrep', 'EGAL', 'PME', '', ''),
|
||||
(138, 'PO', 16, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(139, 'PO', 16, 2, 'Indiscore', 'EGAL', '12', '', ''),
|
||||
(140, 'PO', 16, 3, 'TypeEntrep', 'EGAL', 'PME', '', ''),
|
||||
(141, 'PO', 17, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(142, 'PO', 17, 2, 'Indiscore', 'EGAL', '13', '', ''),
|
||||
(143, 'PO', 17, 3, 'TypeEntrep', 'EGAL', 'PME', '', ''),
|
||||
(144, 'PO', 18, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(145, 'PO', 18, 2, 'Indiscore', 'EGAL', '14', '', ''),
|
||||
(146, 'PO', 18, 3, 'TypeEntrep', 'EGAL', 'PME', '', ''),
|
||||
(147, 'PO', 19, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(148, 'PO', 19, 2, 'Indiscore', 'EGAL', '6', '', ''),
|
||||
(149, 'PO', 19, 3, 'TypeEntrep', 'EGAL', 'TPE', '', ''),
|
||||
(150, 'PO', 20, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(151, 'PO', 20, 2, 'Indiscore', 'EGAL', '7', '', ''),
|
||||
(152, 'PO', 20, 3, 'TypeEntrep', 'EGAL', 'TPE', '', ''),
|
||||
(153, 'PO', 21, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(154, 'PO', 21, 2, 'Indiscore', 'EGAL', '8', '', ''),
|
||||
(155, 'PO', 21, 3, 'TypeEntrep', 'EGAL', 'TPE', '', ''),
|
||||
(156, 'PO', 22, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(157, 'PO', 22, 2, 'Indiscore', 'EGAL', '9', '', ''),
|
||||
(158, 'PO', 22, 3, 'TypeEntrep', 'EGAL', 'TPE', '', ''),
|
||||
(159, 'PO', 23, 1, 'InseeAge', 'MAX', '4', '', ''),
|
||||
(160, 'PO', 23, 2, 'Indiscore', 'EGAL', '10', '', ''),
|
||||
(161, 'PO', 23, 3, 'TypeEntrep', 'EGAL', 'TPE', '', ''),
|
||||
(162, 'PO', 24, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(163, 'PO', 24, 2, 'Indiscore', 'EGAL', '11', '', ''),
|
||||
(164, 'PO', 24, 3, 'TypeEntrep', 'EGAL', 'TPE', '', ''),
|
||||
(165, 'PO', 25, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(166, 'PO', 25, 2, 'Indiscore', 'EGAL', '12', '', ''),
|
||||
(167, 'PO', 25, 3, 'TypeEntrep', 'EGAL', 'TPE', '', ''),
|
||||
(168, 'PO', 26, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(169, 'PO', 26, 2, 'Indiscore', 'EGAL', '13', '', ''),
|
||||
(170, 'PO', 26, 3, 'TypeEntrep', 'EGAL', 'TPE', '', ''),
|
||||
(171, 'PO', 27, 1, 'InseeAge', 'MAX', '37', '', ''),
|
||||
(172, 'PO', 27, 2, 'Indiscore', 'EGAL', '14', '', ''),
|
||||
(173, 'PO', 27, 3, 'TypeEntrep', 'EGAL', 'TPE', '', ''),
|
||||
(174, 'PO', 28, 1, 'NAF', 'LIST', 'TabNafSFR', '', ''),
|
||||
(175, 'PO', 28, 2, 'Indiscore', 'EGAL', '6', '', ''),
|
||||
(176, 'PO', 28, 3, 'TypeEntrep', 'EGAL', 'GE', '', ''),
|
||||
(177, 'PO', 29, 1, 'NAF', 'LIST', 'TabNafSFR', '', ''),
|
||||
(178, 'PO', 29, 2, 'Indiscore', 'EGAL', '7', '', ''),
|
||||
(179, 'PO', 29, 3, 'TypeEntrep', 'EGAL', 'GE', '', ''),
|
||||
(180, 'PO', 30, 1, 'NAF', 'LIST', 'TabNafSFR', '', ''),
|
||||
(181, 'PO', 30, 2, 'Indiscore', 'EGAL', '8', '', ''),
|
||||
(182, 'PO', 30, 3, 'TypeEntrep', 'EGAL', 'GE', '', ''),
|
||||
(183, 'PO', 31, 1, 'NAF', 'LIST', 'TabNafSFR', '', ''),
|
||||
(184, 'PO', 31, 2, 'Indiscore', 'EGAL', '9', '', ''),
|
||||
(185, 'PO', 31, 3, 'TypeEntrep', 'EGAL', 'GE', '', ''),
|
||||
(186, 'PO', 32, 1, 'NAF', 'LIST', 'TabNafSFR', '', ''),
|
||||
(187, 'PO', 32, 2, 'Indiscore', 'EGAL', '6', '', ''),
|
||||
(188, 'PO', 32, 3, 'TypeEntrep', 'EGAL', 'PME', '', ''),
|
||||
(189, 'PO', 33, 1, 'NAF', 'LIST', 'TabNafSFR', '', ''),
|
||||
(190, 'PO', 33, 2, 'Indiscore', 'EGAL', '7', '', ''),
|
||||
(191, 'PO', 33, 3, 'TypeEntrep', 'EGAL', 'PME', '', ''),
|
||||
(192, 'PO', 34, 1, 'NAF', 'LIST', 'TabNafSFR', '', ''),
|
||||
(193, 'PO', 34, 2, 'Indiscore', 'EGAL', '8', '', ''),
|
||||
(194, 'PO', 34, 3, 'TypeEntrep', 'EGAL', 'PME', '', ''),
|
||||
(195, 'PO', 35, 1, 'NAF', 'LIST', 'TabNafSFR', '', ''),
|
||||
(196, 'PO', 35, 2, 'Indiscore', 'EGAL', '9', '', ''),
|
||||
(197, 'PO', 35, 3, 'TypeEntrep', 'EGAL', 'PME', '', ''),
|
||||
(198, 'PO', 36, 1, 'NAF', 'LIST', 'TabNafSFR', '', ''),
|
||||
(199, 'PO', 36, 2, 'Indiscore', 'EGAL', '6', '', ''),
|
||||
(200, 'PO', 36, 3, 'TypeEntrep', 'EGAL', 'TPE', '', ''),
|
||||
(201, 'PO', 37, 1, 'NAF', 'LIST', 'TabNafSFR', '', ''),
|
||||
(202, 'PO', 37, 2, 'Indiscore', 'EGAL', '7', '', ''),
|
||||
(203, 'PO', 37, 3, 'TypeEntrep', 'EGAL', 'TPE', '', ''),
|
||||
(204, 'PO', 38, 1, 'NAF', 'LIST', 'TabNafSFR', '', ''),
|
||||
(205, 'PO', 38, 2, 'Indiscore', 'EGAL', '8', '', ''),
|
||||
(206, 'PO', 38, 3, 'TypeEntrep', 'EGAL', 'TPE', '', ''),
|
||||
(208, 'PO', 39, 2, 'Indiscore', 'EGAL', '9', '', ''),
|
||||
(209, 'PO', 39, 3, 'TypeEntrep', 'EGAL', 'TPE', '', ''),
|
||||
(242, 'PO', 50, 2, 'TypeEntrep', 'EGAL', 'TPE', '', ''),
|
||||
(211, 'PO', 40, 1, 'Indiscore', 'EGAL', '6', '', ''),
|
||||
(212, 'PO', 40, 2, 'TypeEntrep', 'EGAL', 'GE', '', ''),
|
||||
(214, 'PO', 41, 1, 'Indiscore', 'EGAL', '7', '', ''),
|
||||
(215, 'PO', 41, 2, 'TypeEntrep', 'EGAL', 'GE', '', ''),
|
||||
(217, 'PO', 42, 1, 'Indiscore', 'EGAL', '8', '', ''),
|
||||
(218, 'PO', 42, 2, 'TypeEntrep', 'EGAL', 'GE', '', ''),
|
||||
(220, 'PO', 43, 1, 'Indiscore', 'EGAL', '6', '', ''),
|
||||
(221, 'PO', 43, 2, 'TypeEntrep', 'EGAL', 'PME', '', ''),
|
||||
(223, 'PO', 44, 1, 'Indiscore', 'EGAL', '7', '', ''),
|
||||
(224, 'PO', 44, 2, 'TypeEntrep', 'EGAL', 'PME', '', ''),
|
||||
(226, 'PO', 45, 1, 'Indiscore', 'EGAL', '8', '', ''),
|
||||
(227, 'PO', 45, 2, 'TypeEntrep', 'EGAL', 'PME', '', ''),
|
||||
(229, 'PO', 46, 1, 'Indiscore', 'EGAL', '9', '', ''),
|
||||
(230, 'PO', 46, 2, 'TypeEntrep', 'EGAL', 'PME', '', ''),
|
||||
(232, 'PO', 47, 1, 'Indiscore', 'EGAL', '6', '', ''),
|
||||
(233, 'PO', 47, 2, 'TypeEntrep', 'EGAL', 'TPE', '', ''),
|
||||
(235, 'PO', 48, 1, 'Indiscore', 'EGAL', '7', '', ''),
|
||||
(236, 'PO', 48, 2, 'TypeEntrep', 'EGAL', 'TPE', '', ''),
|
||||
(238, 'PO', 49, 1, 'Indiscore', 'EGAL', '8', '', ''),
|
||||
(239, 'PO', 49, 2, 'TypeEntrep', 'EGAL', 'TPE', '', ''),
|
||||
(207, 'PO', 39, 1, 'NAF', 'LIST', 'TabNafSFR', '', ''),
|
||||
(241, 'PO', 50, 1, 'Indiscore', 'EGAL', '9', '', '');
|
||||
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
@ -1,128 +0,0 @@
|
||||
-- phpMyAdmin SQL Dump
|
||||
-- version 4.0.4.1
|
||||
-- http://www.phpmyadmin.net
|
||||
--
|
||||
-- Client: 192.168.78.230
|
||||
-- Généré le: Lun 26 Août 2013 à 10:01
|
||||
-- Version du serveur: 5.5.32-0ubuntu0.12.04.1
|
||||
-- Version de PHP: 5.3.10-1ubuntu3.7
|
||||
|
||||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||||
SET time_zone = "+00:00";
|
||||
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!40101 SET NAMES utf8 */;
|
||||
|
||||
--
|
||||
-- Base de données: `jo`
|
||||
--
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Structure de la table `sfr_rules_10`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `sfr_rules_10` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`type` varchar(5) NOT NULL,
|
||||
`codif` int(11) NOT NULL,
|
||||
`ordre` int(11) NOT NULL,
|
||||
`label` varchar(50) NOT NULL,
|
||||
`value` varchar(50) NOT NULL,
|
||||
`po` tinyint(4) NOT NULL,
|
||||
`comment` varchar(250) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=80 ;
|
||||
|
||||
--
|
||||
-- Contenu de la table `sfr_rules_10`
|
||||
--
|
||||
|
||||
INSERT INTO `sfr_rules_10` (`id`, `type`, `codif`, `ordre`, `label`, `value`, `po`, `comment`) VALUES
|
||||
(1, 'VORP', 1, 1, 'VORp-1.0', 'CONTINUE', 0, ''),
|
||||
(2, 'VORP', 2, 2, 'VORp-2.1', 'VERT', 0, ''),
|
||||
(3, 'VORP', 3, 3, 'VORp-2.2', 'VERT', 0, ''),
|
||||
(4, 'VORP', 4, 4, 'VORp-3.1', 'ROUGE', 1, 'Société de droit étranger : faire une DEC si volonté de poursuivre l''affaire'),
|
||||
(5, 'VORP', 5, 5, 'VORp-3.2', 'ROUGE', 1, 'Société de droit étranger : faire une DEC si volonté de poursuivre l''affaire2'),
|
||||
(6, 'VORP', 6, 6, 'VORp-4.1', 'ROUGE', 1, 'Cette société fait l''objet d''un Redressement Judiciaire : faire une DEC si volonté de poursuivre l''affaire'),
|
||||
(7, 'VORP', 7, 7, 'VORp-4.2', 'ROUGE', 0, 'Cette société fait l''objet d''une liquidation judiciaire : pas d''entrée en relation possible'),
|
||||
(8, 'VORP', 8, 8, 'VORp-4.3', 'ROUGE', 1, 'Cette société fait l''objet d''une Sauvegarde Judiciaire : faire une DEC si volonté de poursuivre l''affaire'),
|
||||
(9, 'VORP', 9, 9, 'VORp-4.4', 'ROUGE', 1, 'Cette entreprise n''est pas active à l''INSEE : pas d''entrée en relation possible'),
|
||||
(10, 'VORP', 10, 10, 'VORp-5.0', 'ORANGE', 1, 'Faire une DEC si dépassement de la PO proposée'),
|
||||
(11, 'VORP', 11, 14, 'VORp-6.1', 'ROUGE', 1, 'Solvabilité et pérennité compromise : faire une DEC si volonté de poursuivre l''affaire'),
|
||||
(12, 'VORP', 12, 15, 'VORp-6.2', 'ORANGE', 1, 'Faire une DEC si dépassement de la PO proposée'),
|
||||
(13, 'VORP', 13, 16, 'VORp-6.3', 'VERT', 0, ''),
|
||||
(14, 'VORP', 14, 11, 'VORp-7.0', 'ORANGE', 1, 'Cette entreprise fait l''objet d''une sauvegarde : faire une DEC si dépassement de la PO'),
|
||||
(15, 'VORP', 15, 12, 'VORp-8.0', 'VERT', 0, ''),
|
||||
(16, 'VORP', 16, 13, 'VORp-9.0', 'VERT', 0, ''),
|
||||
(17, 'VORD', 1, 1, 'VORd-11.1', 'STOP', 0, ''),
|
||||
(18, 'VORD', 2, 2, 'VORd-11.2', 'CONTINUE', 0, ''),
|
||||
(19, 'VORD', 3, 3, 'VORd-11.3', 'CONTINUE', 0, ''),
|
||||
(20, 'VORD', 4, 4, 'VORd-10.1', 'ROUGE', 1, 'Société dont la solvabilité est limitée et qui rencontre des difficultés de paiement : Faire une DEC pour tout acte éligible'),
|
||||
(21, 'VORD', 5, 5, 'VORd-10.2', 'ORANGE', 0, ''),
|
||||
(22, 'VORD', 6, 6, 'VORd-10.3', 'ORANGE', 0, ''),
|
||||
(23, 'VORD', 7, 7, 'VORd-10.4', 'ROUGE', 1, 'Société dont la solvabilité est limitée et qui rencontre des difficultés de paiement : Faire une DEC pour tout acte éligible'),
|
||||
(24, 'VORD', 8, 8, 'VORd-10.5', 'VERT', 0, ''),
|
||||
(25, 'VORD', 9, 9, 'VORd-10.6', 'ROUGE', 1, 'Société dont la solvabilité est limitée et qui rencontre des difficultés de paiement : Faire une DEC pour tout acte éligible'),
|
||||
(26, 'VORD', 10, 10, 'VORd-10.7', 'ROUGE', 1, 'Société dont la solvabilité est limitée et qui rencontre des difficultés de paiement : Faire une DEC pour tout acte éligible'),
|
||||
(27, 'VORD', 11, 11, 'VORd-10.8', 'VERT', 0, ''),
|
||||
(28, 'VORD', 12, 12, 'VORd-10.8-2', 'VERT', 0, ''),
|
||||
(29, 'VORD', 13, 13, 'VORd-10.9', 'ORANGE', 1, 'Faire une DEC si dépassement de la PO proposée'),
|
||||
(30, 'PO', 1, 13, 'PO-Date-GE', '3000', 0, ''),
|
||||
(31, 'PO', 2, 14, 'PO-Date-GE', '3000', 0, ''),
|
||||
(32, 'PO', 3, 15, 'PO-Date-GE', '3000', 0, ''),
|
||||
(33, 'PO', 4, 16, 'PO-Date-GE', '5000', 0, ''),
|
||||
(34, 'PO', 5, 17, 'PO-Date-GE', '5000', 0, ''),
|
||||
(35, 'PO', 6, 18, 'PO-Date-GE', '5000', 0, ''),
|
||||
(36, 'PO', 7, 19, 'PO-Date-GE', '10000', 0, ''),
|
||||
(37, 'PO', 8, 20, 'PO-Date-GE', '10000', 0, ''),
|
||||
(38, 'PO', 9, 21, 'PO-Date-GE', '10000', 0, ''),
|
||||
(39, 'PO', 10, 22, 'PO-Date-PME', '1500', 0, ''),
|
||||
(40, 'PO', 11, 23, 'PO-Date-PME', '1500', 0, ''),
|
||||
(41, 'PO', 12, 24, 'PO-Date-PME', '1500', 0, ''),
|
||||
(42, 'PO', 13, 25, 'PO-Date-PME', '6000', 0, ''),
|
||||
(43, 'PO', 14, 26, 'PO-Date-PME', '6000', 0, ''),
|
||||
(44, 'PO', 15, 27, 'PO-Date-PME', '6000', 0, ''),
|
||||
(45, 'PO', 16, 28, 'PO-Date-PME', '9000', 0, ''),
|
||||
(46, 'PO', 17, 29, 'PO-Date-PME', '9000', 0, ''),
|
||||
(47, 'PO', 18, 30, 'PO-Date-PME', '9000', 0, ''),
|
||||
(48, 'PO', 19, 31, 'PO-Date-TPE', '500', 0, ''),
|
||||
(49, 'PO', 20, 32, 'PO-Date-TPE', '500', 0, ''),
|
||||
(50, 'PO', 21, 33, 'PO-Date-TPE', '500', 0, ''),
|
||||
(51, 'PO', 22, 34, 'PO-Date-TPE', '1000', 0, ''),
|
||||
(52, 'PO', 23, 35, 'PO-Date-TPE', '1000', 0, ''),
|
||||
(53, 'PO', 24, 36, 'PO-Date-TPE', '1000', 0, ''),
|
||||
(54, 'PO', 25, 37, 'PO-Date-TPE', '1500', 0, ''),
|
||||
(55, 'PO', 26, 38, 'PO-Date-TPE', '1500', 0, ''),
|
||||
(56, 'PO', 27, 39, 'PO-Date-TPE', '1500', 0, ''),
|
||||
(57, 'PO', 28, 1, 'PO-NAF-GE', '6000', 0, ''),
|
||||
(58, 'PO', 29, 2, 'PO-NAF-GE', '12000', 0, ''),
|
||||
(59, 'PO', 30, 3, 'PO-NAF-GE', '25000', 0, ''),
|
||||
(60, 'PO', 31, 4, 'PO-NAF-GE', '45000', 0, ''),
|
||||
(61, 'PO', 32, 5, 'PO-NAF-PME', '4600', 0, ''),
|
||||
(62, 'PO', 33, 6, 'PO-NAF-PME', '5700', 0, ''),
|
||||
(63, 'PO', 34, 7, 'PO-NAF-PME', '14000', 0, ''),
|
||||
(64, 'PO', 35, 8, 'PO-NAF-PME', '19000', 0, ''),
|
||||
(65, 'PO', 36, 9, 'PO-NAF-PME', '700', 0, ''),
|
||||
(66, 'PO', 37, 10, 'PO-NAF-PME', '1000', 0, ''),
|
||||
(67, 'PO', 38, 11, 'PO-NAF-PME', '1100', 0, ''),
|
||||
(68, 'PO', 39, 12, 'PO-NAF-PME', '2800', 0, ''),
|
||||
(69, 'PO', 40, 40, 'PO-STD-GE', '6000', 0, ''),
|
||||
(70, 'PO', 41, 41, 'PO-STD-GE', '10000', 0, ''),
|
||||
(71, 'PO', 42, 42, 'PO-STD-GE', '20000', 0, ''),
|
||||
(72, 'PO', 43, 43, 'PO-STD-PME', '3000', 0, ''),
|
||||
(73, 'PO', 44, 44, 'PO-STD-PME', '3700', 0, ''),
|
||||
(74, 'PO', 45, 45, 'PO-STD-PME', '5000', 0, ''),
|
||||
(75, 'PO', 46, 46, 'PO-STD-PME', '9000', 0, ''),
|
||||
(76, 'PO', 47, 47, 'PO-STD-TPE', '500', 0, ''),
|
||||
(77, 'PO', 48, 48, 'PO-STD-TPE', '600', 0, ''),
|
||||
(78, 'PO', 49, 49, 'PO-STD-TPE', '1000', 0, ''),
|
||||
(79, 'PO', 50, 50, 'PO-STD-TPE', '1300', 0, '');
|
||||
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
@ -1,28 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `bilan_commande_enter` (
|
||||
`id` int(11) NOT NULL,
|
||||
`refCommande` varchar(13) NOT NULL,
|
||||
`siren` varchar(9) NOT NULL,
|
||||
`userId` int(11) NOT NULL,
|
||||
`bilanConfidentiel` tinyint(1) NOT NULL,
|
||||
`bilanSource` varchar(20) NOT NULL,
|
||||
`bilanFile` varchar(50) DEFAULT NULL,
|
||||
`bilanFileNbPage` int(11) DEFAULT NULL,
|
||||
`bilanFileSize` int(11) DEFAULT NULL,
|
||||
`bilanFileSent` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`bilanFileRecv` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`bilanCloture` date NOT NULL DEFAULT '0000-00-00',
|
||||
`bilanType` enum('N','S','C','') NOT NULL,
|
||||
`erreurTxt` varchar(100) DEFAULT NULL,
|
||||
`erreurDate` datetime DEFAULT '0000-00-00 00:00:00',
|
||||
`erreurLogin` varchar(50) DEFAULT NULL,
|
||||
`dateInsert` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`dateSaisie` datetime NOT NULL DEFAULT '0000-00-00 00:00:00'
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Enregistrement des demandes de saisie de bilan depuis toute source' AUTO_INCREMENT=1 ;
|
||||
|
||||
|
||||
ALTER TABLE `bilan_commande_enter`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
|
||||
ALTER TABLE `bilan_commande_enter`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
@ -1,7 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `clients_commercial` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`idClient` int(11) NOT NULL COMMENT 'ID du client',
|
||||
`idCommercial` int(11) NOT NULL COMMENT 'ID du commercial',
|
||||
`DateDebut` date NOT NULL COMMENT 'Date de debut de la relation',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Lien commercial-client' ;
|
@ -1,8 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `clients_commercial_mvt` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`idClient` int(11) NOT NULL COMMENT 'ID du client',
|
||||
`idCommercial` int(11) NOT NULL COMMENT 'ID du commercial',
|
||||
`DateDebut` int(11) NOT NULL COMMENT 'Date de debut de la relation',
|
||||
`DateFin` date NOT NULL COMMENT 'Date de fin de la relation',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Lien commercial-client historique' ;
|
@ -1,10 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `clients_contrat` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`IdClient` int(11) NOT NULL COMMENT 'Id client',
|
||||
`Service` varchar(20) NOT NULL COMMENT 'Code du service',
|
||||
`Ref` varchar(255) NOT NULL COMMENT 'Référence contrat',
|
||||
`Label` varchar(255) NOT NULL COMMENT 'Libellé contrat',
|
||||
`DateBegin` date NOT NULL DEFAULT '0000-00-00' COMMENT 'Date de début du contrat',
|
||||
`DateEnd` date NOT NULL DEFAULT '0000-00-00' COMMENT 'Date de fin du contrat',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Liste des tarifs par période suivant contrat' ;
|
@ -1,11 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `clients_contrat_tarifs` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`IdContrat` int(11) NOT NULL COMMENT 'Id du contrat',
|
||||
`Category` varchar(50) NOT NULL COMMENT 'Type de l''élément',
|
||||
`Item` varchar(255) NOT NULL COMMENT 'Nom de l''élément',
|
||||
`Type` enum('Unitaire','ForfaitLimit','ForfaitNoLimit') NOT NULL COMMENT 'Type de comptabilisation',
|
||||
`PriceUnit` float DEFAULT NULL COMMENT 'Prix unitaire',
|
||||
`MaxUnit` int(11) DEFAULT NULL COMMENT 'Nombre maximum pour traitement',
|
||||
`Doublon` enum('None','Jour','Mois','Periode') NOT NULL COMMENT 'Dédoublonnage',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
@ -1,18 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `clients_services` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`IdClient` int(11) NOT NULL COMMENT 'Identifiant du client',
|
||||
`Code` varchar(20) NOT NULL COMMENT 'Code du service',
|
||||
`Label` varchar(255) NOT NULL COMMENT 'Libellé du service',
|
||||
`TypeCompte` enum('TEST','PROD') NOT NULL COMMENT 'Type du compte',
|
||||
`TypeAcces` enum('userPassword','userPasswordIP','IP') NOT NULL COMMENT 'Méthode d''authentification',
|
||||
`TypeScore` enum('20','100') NOT NULL COMMENT 'Type de score',
|
||||
`Timeout` int(4) NOT NULL DEFAULT '1800' COMMENT 'Délai avant déconnexion',
|
||||
`AppWebservice` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Accès application WebService',
|
||||
`AppOdea` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Accès application ODEA',
|
||||
`Editable` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'Autoriser l''edition (aussi pour les utilisateurs)',
|
||||
`Active` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'Activation, Désactivation du service',
|
||||
`Deleted` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Suppression logique',
|
||||
`DateInsert` timestamp NULL DEFAULT NULL COMMENT 'Date d''insertion',
|
||||
`DateUpdate` timestamp NULL DEFAULT NULL COMMENT 'Date de mise à jour',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ;
|
@ -1,8 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `clients_services_droits` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`IdClient` int(11) NOT NULL COMMENT 'Identifiant Client',
|
||||
`Service` varchar(20) NOT NULL COMMENT 'Code du service',
|
||||
`Acces` varchar(255) NOT NULL COMMENT 'Code du droits d''acces',
|
||||
`DateAdded` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP COMMENT 'Date d''ajout',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ;
|
@ -1,8 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `clients_services_ip` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`IdClient` int(11) NOT NULL COMMENT 'Identifiant du client',
|
||||
`Service` varchar(20) NOT NULL COMMENT 'Code du service',
|
||||
`IP` varchar(255) NOT NULL,
|
||||
`DateAdded` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ;
|
@ -1,29 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `clients_services_trigger` (
|
||||
`id` int(11) NOT NULL,
|
||||
`client` int(11) NOT NULL COMMENT 'Id du client',
|
||||
`service` varchar(50) NOT NULL COMMENT 'Code du service',
|
||||
`login` varchar(50) NOT NULL COMMENT 'Login de l''utilisateur',
|
||||
`even` varchar(50) NOT NULL COMMENT 'Code de l''evenement',
|
||||
`action` varchar(50) NOT NULL COMMENT 'Code de l''action',
|
||||
`actionParams` varchar(300) NOT NULL COMMENT 'Parametres statique de l''action json'
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Configuration du d<>clenchement d''une action à partir d''un evenement' AUTO_INCREMENT=1 ;
|
||||
|
||||
--
|
||||
-- Index pour les tables export<72>es
|
||||
--
|
||||
|
||||
--
|
||||
-- Index pour la table `clients_services_trigger`
|
||||
--
|
||||
ALTER TABLE `clients_services_trigger`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT pour les tables export<72>es
|
||||
--
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT pour la table `clients_services_trigger`
|
||||
--
|
||||
ALTER TABLE `clients_services_trigger`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
@ -1,13 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `clients_tarifs` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`idClient` int(11) NOT NULL,
|
||||
`service` char(20) NOT NULL,
|
||||
`log` char(20) NOT NULL COMMENT 'Element à facturer',
|
||||
`type` enum('Unitaire','ForfaitLimit','ForfaitNolimit') NOT NULL,
|
||||
`priceUnit` float NOT NULL DEFAULT '0' COMMENT 'Prix unitaire d''un élément',
|
||||
`Max` int(11) NOT NULL DEFAULT '0' COMMENT 'Nombre limite de consommation',
|
||||
`dateDebut` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date de debut du contrat',
|
||||
`duree` int(11) NOT NULL COMMENT 'Durée du contrat',
|
||||
`doublon` enum('jour','mois','period','') NOT NULL COMMENT 'Période de dédoublonnage',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Définition des tarifs pour les clients et services' ;
|
@ -1,6 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `commercial` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`idSD` int(11) NOT NULL COMMENT 'ID utilisateurs',
|
||||
`DisplayName` varchar(255) NOT NULL COMMENT 'Nom pour l''affichage',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Définition des commerciaux' ;
|
@ -1,12 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `flux_filein` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`client` varchar(50) NOT NULL COMMENT 'Code du client',
|
||||
`name` varchar(50) NOT NULL COMMENT 'Code de la prestation',
|
||||
`depotType` enum('SFTP','FTP') NOT NULL COMMENT 'Vecteur de transmission du depot',
|
||||
`depotDate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date du depot',
|
||||
`depotFile` varchar(100) NOT NULL COMMENT 'Nom du fichier depose',
|
||||
`nbLines` int(11) NOT NULL COMMENT 'Nomber de lignes dans le fichier',
|
||||
`dateInsert` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`dateExecute` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
|
@ -1,12 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `flux_fileout` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`client` varchar(50) NOT NULL COMMENT 'Code du client',
|
||||
`name` varchar(50) NOT NULL COMMENT 'Code de la prestation',
|
||||
`nbLines` int(11) NOT NULL COMMENT 'Nombre de ligne traités',
|
||||
`dateBegin` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date de debut du traitement',
|
||||
`dateEnd` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date de fin d traitement',
|
||||
`fileOut` varchar(100) NOT NULL COMMENT 'Nom du fichier de sortie',
|
||||
`depotType` enum('SFTP','FTP') NOT NULL COMMENT 'Type du depot',
|
||||
`depotDate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date du depot',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
|
@ -1,22 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `greffe_commandes_ac` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`refCommande` varchar(13) NOT NULL COMMENT 'Identifiant unique de commande',
|
||||
`login` varchar(50) NOT NULL COMMENT 'Identifiant de l''utilisateur',
|
||||
`email` varchar(255) NOT NULL COMMENT 'Email de l''utilisateur',
|
||||
`refClient` varchar(255) NOT NULL COMMENT 'Référence de l''utilisateur',
|
||||
`mode` enum('C','L','F','T') NOT NULL COMMENT 'Mode de traitement (C:Courrier infogreffe, L: Lettre S&D)',
|
||||
`siren` varchar(9) NOT NULL COMMENT 'SIREN',
|
||||
`raisonSociale` varchar(255) NOT NULL COMMENT 'Nom de l''entité',
|
||||
`depotNum` int(11) NOT NULL COMMENT 'Numéro de dépot',
|
||||
`depotDate` varchar(10) NOT NULL COMMENT 'Date du dépot',
|
||||
`acteType` varchar(10) NOT NULL COMMENT 'Code infogreffe type de l''acte',
|
||||
`acteDate` varchar(10) NOT NULL COMMENT 'Date de l''acte',
|
||||
`acteNum` int(2) NOT NULL COMMENT 'Numéro de l''acte dans le dépot',
|
||||
`cmdError` varchar(255) NOT NULL DEFAULT '',
|
||||
`cmdUrl` varchar(255) NOT NULL DEFAULT '',
|
||||
`cmdFile` varchar(255) NOT NULL DEFAULT '',
|
||||
`dateInsert` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date d''insertion',
|
||||
`dateCommande` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date de commande chez infogreffe (0 si commande non passé)',
|
||||
`dateEnvoi` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date d''envoi de la commande (email client)',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ;
|
@ -1,19 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `greffe_commandes_bi` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`refCommande` varchar(13) NOT NULL COMMENT 'Identifiant unique de commande',
|
||||
`login` varchar(50) NOT NULL COMMENT 'Identifiant de l''utilisateur',
|
||||
`email` varchar(255) NOT NULL COMMENT 'Email de l''utilisateur',
|
||||
`refClient` varchar(255) NOT NULL COMMENT 'Référence de l''utilisateur',
|
||||
`mode` enum('C','L','F','T') NOT NULL COMMENT 'Mode de traitement (C:Courrier infogreffe, L: Lettre S&D)',
|
||||
`siren` varchar(9) NOT NULL COMMENT 'SIREN',
|
||||
`raisonSociale` varchar(255) NOT NULL COMMENT 'Nom de l''entité',
|
||||
`bilanCloture` varchar(10) NOT NULL COMMENT 'Date de cloture du bilan',
|
||||
`bilanType` varchar(50) NOT NULL COMMENT 'Type du bilan (sociaux, consolidé)',
|
||||
`cmdError` varchar(255) NOT NULL DEFAULT '',
|
||||
`cmdUrl` varchar(255) NOT NULL DEFAULT '',
|
||||
`cmdFile` varchar(255) NOT NULL DEFAULT '',
|
||||
`dateInsert` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date d''insertion',
|
||||
`dateCommande` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date de commande chez infogreffe (0 si commande non passé)',
|
||||
`dateEnvoi` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date d''envoi de la commande (email client)',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ;
|
@ -1,14 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `greffe_commandes_kb` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`refCommande` varchar(13) NOT NULL COMMENT 'Identifiant unique de commande',
|
||||
`login` varchar(50) NOT NULL COMMENT 'Identifiant de l''utilisateur',
|
||||
`email` varchar(255) NOT NULL COMMENT 'Email de l''utilisateur',
|
||||
`refClient` varchar(255) NOT NULL COMMENT 'Référence de l''utilisateur',
|
||||
`mode` enum('C','M') NOT NULL COMMENT 'Mode de traitement (C: Courrier, M: Email)',
|
||||
`siren` varchar(9) NOT NULL COMMENT 'SIREN',
|
||||
`raisonSociale` varchar(255) NOT NULL COMMENT 'Nom de l''entité',
|
||||
`dateInsert` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date d''insertion',
|
||||
`dateCommande` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date de commande chez infogreffe (0 si commande non passé)',
|
||||
`dateEnvoi` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date d''envoi de la commande (email client)',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
@ -1,11 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `logs_count_consultation` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`idClient` int(11) NOT NULL COMMENT 'ID du client',
|
||||
`Service` varchar(50) NOT NULL COMMENT 'Code du service',
|
||||
`Code` varchar(50) NOT NULL COMMENT 'Code de l''élément',
|
||||
`Qte` int(11) NOT NULL COMMENT 'Quantité consommé',
|
||||
`Annee` int(4) NOT NULL,
|
||||
`Mois` int(2) NOT NULL,
|
||||
`BatchUpdate` datetime NOT NULL COMMENT 'Date de mise à jour',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Table des consommations mensuel de consultation' ;
|
@ -1,11 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `logs_count_surveillance` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`idClient` int(11) NOT NULL COMMENT 'ID du client',
|
||||
`Service` varchar(50) NOT NULL COMMENT 'Code du service',
|
||||
`Code` varchar(50) NOT NULL COMMENT 'Code de l''élément',
|
||||
`Qte` int(11) NOT NULL COMMENT 'Quantité consommé',
|
||||
`Annee` int(4) NOT NULL,
|
||||
`Mois` int(2) NOT NULL,
|
||||
`BatchUpdate` datetime NOT NULL COMMENT 'Date de mise à jour',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Table des consommations mensuel de consultation';
|
@ -1,8 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `logs_item` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`Code` varchar(50) NOT NULL COMMENT 'Code de l''élément',
|
||||
`Label` varchar(255) NOT NULL COMMENT 'Libellé de l''élément',
|
||||
`Description` varchar(255) NOT NULL,
|
||||
`Category` enum('consultation','surveillance','flux') NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Référencement des éléments à comptabiliser' ;
|
@ -1,31 +0,0 @@
|
||||
--
|
||||
-- Structure de la table `prestations`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `prestations` (
|
||||
`id` int(11) NOT NULL,
|
||||
`typeprestation` varchar(50) NOT NULL,
|
||||
`source` varchar(50) NOT NULL,
|
||||
`datemiseenplace` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`datepremierefactu` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`freqfacturation` enum('Unitaire','Quotidien','Hebdo','Mensuel','Trimestriel','Annuel','Semestriel') NOT NULL,
|
||||
`datefinprestation` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`prestatest` tinyint(1) NOT NULL,
|
||||
`identifiantPrestation` varchar(100) NOT NULL,
|
||||
`passwordprestation` varchar(100) NOT NULL,
|
||||
`supportprestation` enum('FTP','Email','CD/DVD','CFT') NOT NULL,
|
||||
`identifiantCFT` varchar(100) NOT NULL,
|
||||
`dureecontrat` int(2) NOT NULL,
|
||||
`montantannuelfactu` varchar(10) NOT NULL,
|
||||
`freqenvois` enum('Unitaire','Quotidien','Hebdo','Mensuel','Trimestriel','Annuel','Semestriel') NOT NULL,
|
||||
`formatdesenvois` varchar(100) NOT NULL,
|
||||
`trtnumerotour` int(11) NOT NULL,
|
||||
`trtdatedeniereexec` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`optionsprestation` text NOT NULL,
|
||||
`prestationactive` enum('oui','non') NOT NULL,
|
||||
`optionsupport` text NOT NULL,
|
||||
`mailIN` varchar(100) NOT NULL,
|
||||
`mailOUT` varchar(100) NOT NULL,
|
||||
`osClient` int(11) NOT NULL,
|
||||
`compression` enum('none','zip','gzip','bzip2') NOT NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Prestations Surveillance / Diffusion';
|
@ -1,14 +0,0 @@
|
||||
CREATE TABLE `utilisateurs_emails` (
|
||||
`id` int(11) NOT NULL,
|
||||
`idClient` int(11) NOT NULL COMMENT 'ID du client',
|
||||
`login` varchar(50) NOT NULL COMMENT 'login de l''utilisateur',
|
||||
`name` varchar(50) NOT NULL DEFAULT '' COMMENT 'Nom à afficher',
|
||||
`email` varchar(255) NOT NULL COMMENT 'email de l''utilisateur',
|
||||
`valid` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1 si email valide',
|
||||
`validToken` varchar(40) NOT NULL DEFAULT '' COMMENT 'Clé pour la validation par lien de l''email',
|
||||
`dateInsert` datetime NOT NULL,
|
||||
`dateUpdate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idClient` (`idClient`),
|
||||
KEY `login` (`login`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
@ -1,14 +0,0 @@
|
||||
CREATE TABLE `utilisateurs_emails_surv` (
|
||||
`id` int(11) NOT NULL,
|
||||
`idClient` int(11) NOT NULL COMMENT 'ID du client',
|
||||
`login` varchar(50) NOT NULL COMMENT 'login de l''utilisateur',
|
||||
`name` varchar(50) NOT NULL DEFAULT '' COMMENT 'Nom à afficher',
|
||||
`email` varchar(255) NOT NULL COMMENT 'email de l''utilisateur',
|
||||
`valid` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1 si email valide',
|
||||
`validToken` varchar(40) NOT NULL DEFAULT '' COMMENT 'Clé pour la validation par lien de l''email',
|
||||
`dateInsert` datetime NOT NULL,
|
||||
`dateUpdate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idClient` (`idClient`),
|
||||
KEY `login` (`login`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
@ -1,6 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `utilisateurs_service` (
|
||||
`login` varchar(20) NOT NULL,
|
||||
`IdClient` int(11) NOT NULL COMMENT 'Identifiant du client',
|
||||
`Service` varchar(20) NOT NULL COMMENT 'Code du service',
|
||||
PRIMARY KEY (`login`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
@ -1,101 +0,0 @@
|
||||
<?php
|
||||
// --- Define path to application directory
|
||||
defined('APPLICATION_PATH')
|
||||
|| define('APPLICATION_PATH', realpath(__DIR__ . '/../../application'));
|
||||
|
||||
// --- Define application environment
|
||||
defined('APPLICATION_ENV')
|
||||
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
|
||||
|
||||
// --- Composer autoload
|
||||
require_once realpath(__DIR__ . '/../../vendor/autoload.php');
|
||||
|
||||
try {
|
||||
$opts = new Zend_Console_Getopt(
|
||||
//Options
|
||||
array(
|
||||
'help|?' => "Affiche les informations d'utilisation",
|
||||
'install=s' => "Installe et configure",
|
||||
)
|
||||
);
|
||||
$opts->parse();
|
||||
} catch (Zend_Console_Getopt_Exception $e) {
|
||||
echo $e->getUsageMessage();
|
||||
exit;
|
||||
}
|
||||
|
||||
//Usage
|
||||
if (isset($opts->help))
|
||||
{
|
||||
echo $opts->getUsageMessage();
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
if ($opts->install)
|
||||
{
|
||||
echo date('Y-m-d H:i:s')." - Démarrage de la configuration.\n";
|
||||
|
||||
// --- Copy configuration
|
||||
$configDir = realpath(dirname(__FILE__)).'/profil';
|
||||
$appconfigDir = APPLICATION_PATH.'/configs';
|
||||
$profil = $opts->install;
|
||||
|
||||
$result = copy($configDir.'/'.$profil.'/application.ini', $appconfigDir.'/application.ini');
|
||||
if ($result !== true) {
|
||||
echo date('Y-m-d H:i:s')." - Impossible de copier la configuration.\n";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
// --- Create application, bootstrap, and run
|
||||
$application = new Zend_Application(APPLICATION_ENV, APPLICATION_PATH . '/configs/application.ini');
|
||||
$c = new Zend_Config($application->getOptions());
|
||||
|
||||
// Generate cache file
|
||||
// genCache.php
|
||||
passthru('php '.realpath(dirname(__FILE__)).'/genCache.php --generate Evenements');
|
||||
|
||||
// genCodeRatios.php
|
||||
|
||||
if ( substr(strtoupper(PHP_OS),0,3) != 'WIN' ) {
|
||||
// --- Copy files
|
||||
passthru('cp -rv '.realpath(dirname(__FILE__)).'/files/* '.$c->profil->path->shared.'/files/');
|
||||
|
||||
// --- Modification des permissions
|
||||
passthru('chown -R www-data: '.APPLICATION_PATH.'/../');
|
||||
|
||||
// --- Check WKHTMLTOPDF
|
||||
$wkhtml = exec('echo $(which wkhtmltopdf)');
|
||||
if ( empty(trim($wkhtml)) ) {
|
||||
echo date('Y-m-d H:i:s')." - Warning : WKHTMLTOPDF non installé.\n";
|
||||
}
|
||||
}
|
||||
|
||||
// --- Create data directory and all his children
|
||||
$path = $c->profil->path->shared;
|
||||
$dirToCreate = array(
|
||||
$path.'/cache',
|
||||
$path.'/files',
|
||||
$path.'/log',
|
||||
$path.'/sessions',
|
||||
$path.'/wsdl',
|
||||
);
|
||||
foreach ($dirToCreate as $dir) {
|
||||
if (in_array($dir, array('sessions', 'wsdl')) ) {
|
||||
passthru('rm -rf '.$dir);
|
||||
}
|
||||
if ( ! file_exists($dir) ) {
|
||||
mkdir($dir, 0777, true);
|
||||
// --- Modification des permissions
|
||||
passthru('chown -Rv www-data: '.$dir);
|
||||
}
|
||||
}
|
||||
|
||||
// --- Release
|
||||
$projectPath = str_replace('/shared', '', $c->profil->path->shared);
|
||||
$releasePath = realpath(str_replace('/application', '', APPLICATION_PATH));
|
||||
passthru("rm -v ".$projectPath."/current");
|
||||
passthru("ln -sv ".$releasePath." ".$projectPath."/current");
|
||||
|
||||
echo date('Y-m-d H:i:s')." - Fin de la configuration.\n";
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
|
||||
Server Configuration
|
||||
====================
|
||||
|
||||
Copier tout les fichiers de configuration du serveur.
|
||||
cp -vRi scripts/build/config/etc/* /etc/
|
||||
|
||||
PHP5
|
||||
----
|
||||
/etc/php5
|
||||
|
||||
crontab
|
||||
-------
|
||||
/etc/cron.d
|
||||
|
||||
incron
|
||||
------
|
||||
/etc/incron.d
|
@ -1 +0,0 @@
|
||||
01 19 01-05 * * root php /home/vhosts/webservice/scripts/build/genCache.php --generate Evenements
|
@ -1,6 +0,0 @@
|
||||
/home/vhosts/data/webservice/*.log {
|
||||
weekly
|
||||
missingok
|
||||
compress
|
||||
notifempty
|
||||
}
|
@ -1,71 +0,0 @@
|
||||
[production]
|
||||
phpSettings.date.timezone = "Europe/Paris"
|
||||
phpSettings.display_startup_errors = 0
|
||||
phpSettings.display_errors = 0
|
||||
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||||
bootstrap.class = "Bootstrap"
|
||||
appnamespace = "Application"
|
||||
resources.session.save_path = "/home/vhosts/data/webservice/sessions"
|
||||
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
|
||||
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
|
||||
resources.frontController.plugins.Services = "Application_Controller_Plugin_Services"
|
||||
resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu"
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
resources.layout.layout = "layout"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/views"
|
||||
resources.view.basePath = APPLICATION_PATH "/views"
|
||||
|
||||
; Scores configuration
|
||||
profil.server.name = development
|
||||
profil.mail.method = smtp
|
||||
profil.mail.host = smtp.free.fr
|
||||
profil.mail.email.support = supportdev@scores-decisions.com
|
||||
profil.mail.email.supportdev = supportdev@scores-decisions.com
|
||||
profil.mail.email.contact = supportdev@scores-decisions.com
|
||||
profil.mail.email.production = supportdev@scores-decisions.com
|
||||
profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf"
|
||||
profil.path.shared = "/home/vhosts/data/webservice"
|
||||
|
||||
profil.sphinx.ent.host = "192.168.78.242"
|
||||
profil.sphinx.ent.port = 3312
|
||||
profil.sphinx.ent.version = 2
|
||||
profil.sphinx.dir.host = "192.168.78.242"
|
||||
profil.sphinx.dir.port = 3312
|
||||
profil.sphinx.dir.version = 2
|
||||
profil.sphinx.act.host = "192.168.78.242"
|
||||
profil.sphinx.act.port = 3312
|
||||
profil.sphinx.act.version = 2
|
||||
profil.sphinx.histo.host = "192.168.78.242"
|
||||
profil.sphinx.histo.port = 3312
|
||||
profil.sphinx.histo.version = 2
|
||||
|
||||
; For old configuration - see Configure.php
|
||||
profil.db.metier.adapter=mysqli
|
||||
profil.db.metier.params.host=192.168.78.249
|
||||
profil.db.metier.params.username=wsuser
|
||||
profil.db.metier.params.password=scores
|
||||
profil.db.metier.params.dbname=sdv1
|
||||
profil.db.metier.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
|
||||
|
||||
; Metier - Infogreffe
|
||||
profil.infogreffe.wsdl = "infogreffe.wsdl"
|
||||
profil.infogreffe.url = "https://webservices.infogreffe.fr/WSContextInfogreffe/INFOGREFFE"
|
||||
profil.infogreffe.uri = "https://webservices.infogreffe.fr/"
|
||||
profil.infogreffe.user = 85000109
|
||||
profil.infogreffe.password = 166
|
||||
profil.infogreffe.cache.path = "/home/vhosts/data/webservice/cache"
|
||||
profil.infogreffe.cache.time = 8
|
||||
profil.infogreffe.storage.path = "/home/vhosts/data/webservice/datafile/greffes"
|
||||
|
||||
|
||||
[staging : production]
|
||||
resources.frontController.params.displayExceptions = 1
|
||||
|
||||
[development : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 0
|
||||
resources.frontController.params.displayExceptions = 1
|
||||
|
||||
[testing : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
@ -1,70 +0,0 @@
|
||||
[production]
|
||||
phpSettings.date.timezone = "Europe/Paris"
|
||||
phpSettings.display_startup_errors = 0
|
||||
phpSettings.display_errors = 0
|
||||
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||||
bootstrap.class = "Bootstrap"
|
||||
appnamespace = "Application"
|
||||
resources.session.save_path = "/home/vhosts/data/webservice/sessions"
|
||||
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
|
||||
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
|
||||
resources.frontController.plugins.Services = "Application_Controller_Plugin_Services"
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
resources.layout.layout = "layout"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/views"
|
||||
resources.view.basePath = APPLICATION_PATH "/views"
|
||||
|
||||
; Scores configuration
|
||||
profil.server.name = development
|
||||
profil.mail.method = smtp
|
||||
profil.mail.host = smtp.free.fr
|
||||
profil.mail.email.support = supportdev@scores-decisions.com
|
||||
profil.mail.email.supportdev = supportdev@scores-decisions.com
|
||||
profil.mail.email.contact = supportdev@scores-decisions.com
|
||||
profil.mail.email.production = supportdev@scores-decisions.com
|
||||
profil.wkhtmltopdf.path = "C:\Users\mricois\www\data\extranet\wkhtml\windows\wkhtmltopdf.exe"
|
||||
profil.path.shared = ""/home/vhosts/data/webservice"
|
||||
|
||||
; Metier - Infogreffe
|
||||
profil.infogreffe.wsdl = "infogreffe.wsdl"
|
||||
profil.infogreffe.url = "https://webservices.infogreffe.fr/WSContextInfogreffe/INFOGREFFE"
|
||||
profil.infogreffe.uri = "https://webservices.infogreffe.fr/"
|
||||
profil.infogreffe.user = 85000109
|
||||
profil.infogreffe.password = 166
|
||||
profil.infogreffe.cache.path = "/home/vhosts/data/webservice/cache"
|
||||
profil.infogreffe.cache.time = 8
|
||||
profil.infogreffe.storage.path = ""/home/vhosts/data/webservice/datafile/greffe"
|
||||
|
||||
; Sphinx configuration
|
||||
profil.sphinx.ent.host = "192.168.78.242"
|
||||
profil.sphinx.ent.port = 3312
|
||||
profil.sphinx.ent.version = 2
|
||||
profil.sphinx.dir.host = "192.168.78.242"
|
||||
profil.sphinx.dir.port = 3312
|
||||
profil.sphinx.dir.version = 2
|
||||
profil.sphinx.act.host = "192.168.78.242"
|
||||
profil.sphinx.act.port = 3312
|
||||
profil.sphinx.act.version = 2
|
||||
profil.sphinx.histo.host = "192.168.78.242"
|
||||
profil.sphinx.histo.port = 3312
|
||||
profil.sphinx.histo.version = 2
|
||||
|
||||
; Database configuration - For old configuration - see Configure.php
|
||||
profil.db.metier.adapter=mysqli
|
||||
profil.db.metier.params.host=192.168.78.230
|
||||
profil.db.metier.params.username=wsuser
|
||||
profil.db.metier.params.password=scores
|
||||
profil.db.metier.params.dbname=sdv1
|
||||
profil.db.metier.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
|
||||
|
||||
[staging : production]
|
||||
resources.frontController.params.displayExceptions = 1
|
||||
|
||||
[development : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
||||
resources.frontController.params.displayExceptions = 1
|
||||
|
||||
[testing : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
@ -1,75 +0,0 @@
|
||||
[production]
|
||||
phpSettings.date.timezone = "Europe/Paris"
|
||||
phpSettings.display_startup_errors = 0
|
||||
phpSettings.display_errors = 0
|
||||
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||||
bootstrap.class = "Bootstrap"
|
||||
appnamespace = "Application"
|
||||
resources.session.save_path = "/home/vhosts/webservice/shared/sessions"
|
||||
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
|
||||
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
|
||||
resources.frontController.plugins.Services = "Application_Controller_Plugin_Services"
|
||||
resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu"
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
resources.layout.layout = "layout"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/views"
|
||||
resources.view.basePath = APPLICATION_PATH "/views"
|
||||
|
||||
; Scores configuration
|
||||
profil.server.name = WebService
|
||||
profil.mail.method = smtp
|
||||
profil.mail.host = 192.168.3.200
|
||||
profil.mail.port = 587
|
||||
profil.mail.auth = login
|
||||
profil.mail.username = batch1@srvbak01
|
||||
profil.mail.password = test
|
||||
profil.mail.email.support = supportdev@scores-decisions.com
|
||||
profil.mail.email.supportdev = supportdev@scores-decisions.com
|
||||
profil.mail.email.contact = supportdev@scores-decisions.com
|
||||
profil.mail.email.production = supportdev@scores-decisions.com
|
||||
profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf"
|
||||
profil.path.shared = "/home/vhosts/webservice/shared"
|
||||
|
||||
; Metier - Infogreffe
|
||||
profil.infogreffe.wsdl = "infogreffe.wsdl"
|
||||
profil.infogreffe.url = "https://webservices.infogreffe.fr/WSContextInfogreffe/INFOGREFFE"
|
||||
profil.infogreffe.uri = "https://webservices.infogreffe.fr/"
|
||||
profil.infogreffe.user = 85000109
|
||||
profil.infogreffe.password = 166
|
||||
profil.infogreffe.cache.path = "/home/vhosts/webservice/shared/cache"
|
||||
profil.infogreffe.cache.time = 8
|
||||
profil.infogreffe.storage.path = "/home/vhosts/webservice/shared/datafile/greffes"
|
||||
|
||||
; Sphinx configuration
|
||||
profil.sphinx.ent.host = "192.168.3.25"
|
||||
profil.sphinx.ent.port = 3312
|
||||
profil.sphinx.ent.version = 2
|
||||
profil.sphinx.dir.host = "192.168.3.25"
|
||||
profil.sphinx.dir.port = 3312
|
||||
profil.sphinx.dir.version = 2
|
||||
profil.sphinx.act.host = "192.168.3.25"
|
||||
profil.sphinx.act.port = 3312
|
||||
profil.sphinx.act.version = 2
|
||||
profil.sphinx.histo.host = "192.168.3.25"
|
||||
profil.sphinx.histo.port = 3312
|
||||
profil.sphinx.histo.version = 2
|
||||
|
||||
; For old configuration - see Configure.php
|
||||
profil.db.metier.adapter=mysqli
|
||||
profil.db.metier.params.host=192.168.3.28
|
||||
profil.db.metier.params.username=wsuser
|
||||
profil.db.metier.params.password=wspass2012
|
||||
profil.db.metier.params.dbname=sdv1
|
||||
profil.db.metier.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
|
||||
|
||||
[staging : production]
|
||||
resources.frontController.params.displayExceptions = 1
|
||||
|
||||
[development : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
||||
resources.frontController.params.displayExceptions = 1
|
||||
|
||||
[testing : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
@ -1,70 +0,0 @@
|
||||
[production]
|
||||
phpSettings.date.timezone = "Europe/Paris"
|
||||
phpSettings.display_startup_errors = 0
|
||||
phpSettings.display_errors = 0
|
||||
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||||
bootstrap.class = "Bootstrap"
|
||||
appnamespace = "Application"
|
||||
resources.session.save_path = "/home/vhosts/webservice/shared/sessions"
|
||||
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
|
||||
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
|
||||
resources.frontController.plugins.Services = "Application_Controller_Plugin_Services"
|
||||
resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu"
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
resources.layout.layout = "layout"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/views"
|
||||
resources.view.basePath = APPLICATION_PATH "/views"
|
||||
|
||||
; Scores configuration
|
||||
profil.server.name = WebRecette
|
||||
profil.mail.method = sendmail
|
||||
profil.mail.email.support = supportdev@scores-decisions.com
|
||||
profil.mail.email.supportdev = supportdev@scores-decisions.com
|
||||
profil.mail.email.contact = supportdev@scores-decisions.com
|
||||
profil.mail.email.production = supportdev@scores-decisions.com
|
||||
profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf"
|
||||
profil.path.shared = "/home/vhosts/webservice/shared"
|
||||
|
||||
; Metier - Infogreffe
|
||||
profil.infogreffe.wsdl = "infogreffe.wsdl"
|
||||
profil.infogreffe.url = "https://webservices.infogreffe.fr/WSContextInfogreffe/INFOGREFFE"
|
||||
profil.infogreffe.uri = "https://webservices.infogreffe.fr/"
|
||||
profil.infogreffe.user = 85000109
|
||||
profil.infogreffe.password = 166
|
||||
profil.infogreffe.cache.path = "/home/vhosts/webservice/shared/cache"
|
||||
profil.infogreffe.cache.time = 8
|
||||
profil.infogreffe.storage.path = "/home/vhosts/webservice/shared/datafile/greffes"
|
||||
|
||||
; Sphinx configuration
|
||||
profil.sphinx.ent.host = "195.154.251.56"
|
||||
profil.sphinx.ent.port = 9312
|
||||
profil.sphinx.ent.version = 2
|
||||
profil.sphinx.dir.host = "195.154.251.56"
|
||||
profil.sphinx.dir.port = 9312
|
||||
profil.sphinx.dir.version = 2
|
||||
profil.sphinx.act.host = "195.154.251.56"
|
||||
profil.sphinx.act.port = 9312
|
||||
profil.sphinx.act.version = 2
|
||||
profil.sphinx.histo.host = "195.154.251.56"
|
||||
profil.sphinx.histo.port = 9312
|
||||
profil.sphinx.histo.version = 2
|
||||
|
||||
; For old configuration - see Configure.php
|
||||
profil.db.metier.adapter=mysqli
|
||||
profil.db.metier.params.host=195.154.170.169
|
||||
profil.db.metier.params.username=wsuser
|
||||
profil.db.metier.params.password=wspass2012
|
||||
profil.db.metier.params.dbname=sdv1
|
||||
profil.db.metier.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
|
||||
|
||||
[staging : production]
|
||||
resources.frontController.params.displayExceptions = 1
|
||||
|
||||
[development : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
||||
resources.frontController.params.displayExceptions = 1
|
||||
|
||||
[testing : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
@ -1,75 +0,0 @@
|
||||
[production]
|
||||
phpSettings.date.timezone = "Europe/Paris"
|
||||
phpSettings.display_startup_errors = 0
|
||||
phpSettings.display_errors = 0
|
||||
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||||
bootstrap.class = "Bootstrap"
|
||||
appnamespace = "Application"
|
||||
resources.session.save_path = "/home/vhosts/wsrec/shared/sessions"
|
||||
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
|
||||
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
|
||||
resources.frontController.plugins.Services = "Application_Controller_Plugin_Services"
|
||||
resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu"
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
resources.layout.layout = "layout"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/views"
|
||||
resources.view.basePath = APPLICATION_PATH "/views"
|
||||
|
||||
; Scores configuration
|
||||
profil.server.name = WebRecette
|
||||
profil.mail.method = smtp
|
||||
profil.mail.host = 192.168.3.200
|
||||
profil.mail.port = 587
|
||||
profil.mail.auth = login
|
||||
profil.mail.username = batch1@srvbak01
|
||||
profil.mail.password = test
|
||||
profil.mail.email.support = supportdev@scores-decisions.com
|
||||
profil.mail.email.supportdev = supportdev@scores-decisions.com
|
||||
profil.mail.email.contact = supportdev@scores-decisions.com
|
||||
profil.mail.email.production = supportdev@scores-decisions.com
|
||||
profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf"
|
||||
profil.path.shared = "/home/vhosts/wsrec/shared"
|
||||
|
||||
; Metier - Infogreffe
|
||||
profil.infogreffe.wsdl = "infogreffe.wsdl"
|
||||
profil.infogreffe.url = "https://webservices.infogreffe.fr/WSContextInfogreffe/INFOGREFFE"
|
||||
profil.infogreffe.uri = "https://webservices.infogreffe.fr/"
|
||||
profil.infogreffe.user = 85000109
|
||||
profil.infogreffe.password = 166
|
||||
profil.infogreffe.cache.path = "/home/vhosts/wsrec/shared/cache"
|
||||
profil.infogreffe.cache.time = 8
|
||||
profil.infogreffe.storage.path = "/home/vhosts/wsrec/shared/datafile/greffes"
|
||||
|
||||
; Sphinx configuration
|
||||
profil.sphinx.ent.host = "192.168.3.25"
|
||||
profil.sphinx.ent.port = 3312
|
||||
profil.sphinx.ent.version = 2
|
||||
profil.sphinx.dir.host = "192.168.3.25"
|
||||
profil.sphinx.dir.port = 3312
|
||||
profil.sphinx.dir.version = 2
|
||||
profil.sphinx.act.host = "192.168.3.25"
|
||||
profil.sphinx.act.port = 3312
|
||||
profil.sphinx.act.version = 2
|
||||
profil.sphinx.histo.host = "192.168.3.25"
|
||||
profil.sphinx.histo.port = 3312
|
||||
profil.sphinx.histo.version = 2
|
||||
|
||||
; For old configuration - see Configure.php
|
||||
profil.db.metier.adapter=mysqli
|
||||
profil.db.metier.params.host=192.168.3.28
|
||||
profil.db.metier.params.username=wsuser
|
||||
profil.db.metier.params.password=wspass2012
|
||||
profil.db.metier.params.dbname=sdv1
|
||||
profil.db.metier.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
|
||||
|
||||
[staging : production]
|
||||
resources.frontController.params.displayExceptions = 1
|
||||
|
||||
[development : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
||||
resources.frontController.params.displayExceptions = 1
|
||||
|
||||
[testing : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
Loading…
Reference in New Issue
Block a user