changement des urls de library

This commit is contained in:
benoitpotier 2017-04-10 17:11:03 +02:00
parent bdb51766ab
commit bea9900e3d
7 changed files with 28 additions and 28 deletions

View File

@ -61,7 +61,7 @@ if( $opts->generate == 'Tribunaux' ) {
$stmt->execute();
$result = $stmt->fetchAll(\PDO::FETCH_OBJ);
$fp = fopen(APPLICATION_PATH . '/../library/Metier/Table/BodaccTribunaux.php','w');
$fp = fopen(APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Table/BodaccTribunaux.php','w');
fwrite($fp, "<?php\n");
fwrite($fp, "return array(\n");
@ -89,7 +89,7 @@ if ( $opts->generate == 'FctDir' ) {
$stmt->execute();
$result = $stmt->fetchAll(\PDO::FETCH_OBJ);
$fp=fopen(APPLICATION_PATH . '/../library/Metier/Table/FctDir.php','w');
$fp=fopen(APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Table/FctDir.php','w');
fwrite($fp, "<?php\n");
fwrite($fp, "return array(\n");
@ -111,7 +111,7 @@ if ( $opts->generate == 'Evenements' ) {
$stmt->execute();
$result = $stmt->fetchAll(\PDO::FETCH_OBJ);
$fp = fopen(APPLICATION_PATH . '/../library/Metier/Table/Evenements.php','w');
$fp = fopen(APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Table/Evenements.php','w');
fwrite($fp, "<?php\n");
fwrite($fp, "return array(\n");
@ -141,7 +141,7 @@ if ( $opts->generate == 'Devises' ) {
$stmt->execute();
$result = $stmt->fetchAll(\PDO::FETCH_OBJ);
$fp = fopen(APPLICATION_PATH . '/../library/Metier/Table/Devises.php','w');
$fp = fopen(APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Table/Devises.php','w');
fwrite($fp, "<?php\n");
fwrite($fp, "return array(\n");
@ -163,7 +163,7 @@ if ( $opts->generate == 'RncsTribunaux' ) {
$stmt->execute();
$result = $stmt->fetchAll(\PDO::FETCH_OBJ);
$fp = fopen(APPLICATION_PATH . '/../library/Metier/Table/RncsTribunaux.php','w');
$fp = fopen(APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Table/RncsTribunaux.php','w');
fwrite($fp, "<?php\n");
fwrite($fp, "return array(\n");
@ -187,7 +187,7 @@ if ( $opts->generate == 'DevisesInpi' ) {
$stmt->execute();
$result = $stmt->fetchAll(\PDO::FETCH_OBJ);
$fp = fopen(APPLICATION_PATH . '/../library/Metier/Table/DevisesInpi.php','w');
$fp = fopen(APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Table/DevisesInpi.php','w');
fwrite($fp, "<?php\n");
fwrite($fp, "return array(\n");
@ -209,7 +209,7 @@ if ( $opts->generate == 'Jugements' ) {
$stmt->execute();
$result = $stmt->fetchAll(\PDO::FETCH_OBJ);
$fp = fopen(APPLICATION_PATH . '/../library/Metier/Table/Jugements.php','w');
$fp = fopen(APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Table/Jugements.php','w');
fwrite($fp, "<?php\n");
fwrite($fp, "return array(\n");
@ -231,7 +231,7 @@ if ( $opts->generate == 'PaysInpi' ) {
$stmt->execute();
$result = $stmt->fetchAll(\PDO::FETCH_OBJ);
$fp = fopen(APPLICATION_PATH . '/../library/Metier/Table/PaysInpi.php','w');
$fp = fopen(APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Table/PaysInpi.php','w');
fwrite($fp, "<?php\n");
fwrite($fp, "return array(\n");
@ -253,7 +253,7 @@ if ( $opts->generate == 'CodesNaf' ) {
$stmt->execute();
$result = $stmt->fetchAll(\PDO::FETCH_OBJ);
$fp = fopen(APPLICATION_PATH . '/../library/Metier/Table/CodesNaf.php','w');
$fp = fopen(APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Table/CodesNaf.php','w');
fwrite($fp, "<?php\n");
fwrite($fp, "return array(\n");
@ -287,7 +287,7 @@ if ( $opts->generate == 'CodesNace' ) {
$stmt->execute();
$result = $stmt->fetchAll(\PDO::FETCH_OBJ);
$fp = fopen(APPLICATION_PATH . '/../library/Metier/Table/CodesNace.php','w');
$fp = fopen(APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Table/CodesNace.php','w');
fwrite($fp, "<?php\n");
fwrite($fp, "return array(\n");
@ -309,7 +309,7 @@ if ( $opts->generate == 'CodesNafa' ) {
$stmt->execute();
$result = $stmt->fetchAll(\PDO::FETCH_OBJ);
$fp = fopen(APPLICATION_PATH . '/../library/Metier/Table/CodesNafa.php','w');
$fp = fopen(APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Table/CodesNafa.php','w');
fwrite($fp, "<?php\n");
fwrite($fp, "return array(\n");
@ -331,7 +331,7 @@ if ( $opts->generate == 'CodesFJ' ) {
$stmt->execute();
$result = $stmt->fetchAll(\PDO::FETCH_OBJ);
$fp = fopen(APPLICATION_PATH . '/../library/Metier/Table/CodesFJ.php','w');
$fp = fopen(APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Table/CodesFJ.php','w');
fwrite($fp, "<?php\n");
fwrite($fp, "return array(\n");
@ -354,7 +354,7 @@ if ( $opts->generate == 'AffairesTypes' ) {
$stmt->execute();
$result = $stmt->fetchAll(\PDO::FETCH_OBJ);
$fp = fopen(APPLICATION_PATH . '/../library/Metier/Table/AffairesTypes.php','w');
$fp = fopen(APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Table/AffairesTypes.php','w');
fwrite($fp, "<?php\n");
fwrite($fp, "return array(\n");
@ -376,7 +376,7 @@ if ( $opts->generate == 'ProcolDelete' ) {
$stmt->execute();
$result = $stmt->fetchAll(\PDO::FETCH_OBJ);
$fp = fopen(APPLICATION_PATH . '/../library/Metier/Defaillance/ProcolDelete.php', 'w');
$fp = fopen(APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Defaillance/ProcolDelete.php', 'w');
fwrite($fp, "<?php\n");
fwrite($fp, "return array(\n");

View File

@ -36,7 +36,7 @@ if ($displayUsage) {
// Fichier MRatios
if (isset($opts->ratios)) {
$configFile = APPLICATION_PATH.'/../library/Metier/Scores/MRatios.php';
$configFile = APPLICATION_PATH.'/../vendor/scores/library/src/Metier/Scores/MRatios.php';
$fp = fopen($configFile, 'w');
fwrite($fp, '<?php'."\n");
@ -471,13 +471,13 @@ if (isset($opts->formules)) {
// Select the right table in database in function of type
switch ($type) {
case 'score':
$file = APPLICATION_PATH.'/../library/Metier/Scores/Formule/Score_'.$version.'.php';
$file = APPLICATION_PATH.'/../vendor/scores/library/src/Metier/Scores/Formule/Score_'.$version.'.php';
$tableFormu = 'jo.scores_formules_'.$version;
$tableComment = 'jo.scores_commentaires_'.$version;
break;
case 'valo':
$file = APPLICATION_PATH.'/../library/Metier/Scores/Formule/Valo_'.$version.'.php';
$file = APPLICATION_PATH.'/../vendor/scores/library/src/Metier/Scores/Formule/Valo_'.$version.'.php';
$tableFormu = 'jo.valo_formules_'.$version;
$tableComment = 'jo.valo_commentaires_'.$version;
break;
@ -791,7 +791,7 @@ if ( isset($opts->comments) ) {
$tableComment = 'jo.valo_commentaires_'.$version;
break;
}
$path = APPLICATION_PATH.'/../library/Metier/Scores/Comment';
$path = APPLICATION_PATH.'/../vendor/scores/library/src/Metier/Scores/Comment';
// Read comments text
$stmt = $conn->executeQuery("SELECT code, langue, cycle, ligne, commentaire, tri, deleted
@ -841,7 +841,7 @@ if ( isset($opts->comments) ) {
// --- Gestion des éléments de cache
if ( $opts->tabcache) {
$pathCache = APPLICATION_PATH . '/../library/Metier/Scores/Data';
$pathCache = APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Scores/Data';
// Variables
$fp = fopen($pathCache . '/Variables.php','w');

View File

@ -31,7 +31,7 @@ if ($opts->log) {
$stmt = $conn->prepare($sql);
$stmt->execute();
$outPath = APPLICATION_PATH . '/../library/Scores/Account/Log/List.php';
$outPath = APPLICATION_PATH . '/../vendor/scores/library/src/Scores/Account/Log/List.php';
$outFile = $outPath . '/Config.php';
if ($stmt->rowCount() > 0) {
$result = $stmt->fetchAll(\PDO::FETCH_OBJ);

View File

@ -286,7 +286,7 @@ else
echo "\n***********************************************\n";
}
$pathCache = APPLICATION_PATH . '/../library/Metier/Scores/Variables';
$pathCache = APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Scores/Variables';
$copy_fic = $nomfichier;
if($nomfichier) // Si le nom du fichier comprend 'scores' ou 'valo'...

View File

@ -3534,7 +3534,7 @@ class Entreprise extends Scores_Ws_Server
$this->permission('ratios');
global $tva, $tabFormules, $mBil, $tabBilan, $efftr, $tabInfla;
$tabFormules = include APPLICATION_PATH . '/../library/Metier/Scores/Data/TabFormules.php';
$tabFormules = include APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Scores/Data/TabFormules.php';
//Initialisation
if (empty($page)) $page = 'ratios';

View File

@ -2766,7 +2766,7 @@ class Entreprise extends Scores_Ws_Server
$output->Indiscore = $Indiscore;
//Tableau d'infos sur les formules
$tabFormules = include APPLICATION_PATH . '/../library/Metier/Scores/Data/Formules.php';
$tabFormules = include APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Scores/Data/Formules.php';
$tabBorneMin = $tabBorneMax = array();
foreach ($tabFormules as $formule) {
$id = $formule['id']*1;
@ -4684,7 +4684,7 @@ class Entreprise extends Scores_Ws_Server
/**
* Tableau d'infos sur les formules
*/
$tabFormules = include APPLICATION_PATH . '/../library/Metier/Scores/Data/Formules.php';
$tabFormules = include APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Scores/Data/Formules.php';
$tabBorneMin = $tabBorneMax = array();
foreach ($tabFormules as $formule) {
$tabFormulesInfos[$id] = $formule; //Pour la gestion des unités des ratios secteur

View File

@ -881,8 +881,8 @@ class Entreprise extends Scores_Ws_Server
}
}
$status = include APPLICATION_PATH . '/../library/Metier/Ctx/AffaireStatus.php';
$categories = include APPLICATION_PATH . '/../library/Metier/Table/AffairesTypes.php';
$status = include APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Ctx/AffaireStatus.php';
$categories = include APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Table/AffairesTypes.php';
$affaireList = array();
if ($stmt->rowCount() > 0) {
@ -1048,8 +1048,8 @@ class Entreprise extends Scores_Ws_Server
}
// --- Formattage
$status = include APPLICATION_PATH . '/../library/Metier/Ctx/AffaireStatus.php';
$categories = include APPLICATION_PATH . '/../library/Metier/Table/AffairesTypes.php';
$status = include APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Ctx/AffaireStatus.php';
$categories = include APPLICATION_PATH . '/../vendor/scores/library/src/Metier/Table/AffairesTypes.php';
$output = new GreffeAffaireDetail();
$output->Id = $affaireResult->id;