Remove require
This commit is contained in:
parent
d9559a652d
commit
576304115e
@ -1,7 +1,6 @@
|
||||
<?php
|
||||
require_once 'framework/common/curl.php';
|
||||
require_once 'framework/common/dates.php';
|
||||
require_once 'Metier/partenaires/classMGreffes.php';
|
||||
|
||||
class Metier_Partenaires_MBilans
|
||||
{
|
||||
|
@ -30,9 +30,6 @@ if ($action<>'' && $action<>'commande') die('Paramètres incorrects !');
|
||||
|
||||
$raisonSociale=$tabInfo['entrep']['raisonSociale'];
|
||||
|
||||
require_once 'Metier/partenaires/classMTva.php';
|
||||
require_once 'Metier/partenaires/classMMap.php';
|
||||
require_once 'Metier/partenaires/classMCoface.php';
|
||||
require_once 'framework/common/dates.php';
|
||||
|
||||
/** Utilisation du WS **/
|
||||
|
@ -1168,7 +1168,6 @@ $tabGreffe2Sd=array(
|
||||
|
||||
require_once 'framework/common/curl.php';
|
||||
require_once 'framework/common/mysql.php';
|
||||
require_once 'Metier/Common/Mail.php';
|
||||
|
||||
class Metier_Partenaires_MGreffes
|
||||
{
|
||||
@ -1780,7 +1779,6 @@ class Metier_Partenaires_MGreffes
|
||||
"VILLE DE" => "7210",
|
||||
);
|
||||
|
||||
require_once 'Scores/Locale/String.php';
|
||||
$search = strtoupper(Scores_Locale_String::cleanutf8($txt));
|
||||
foreach ( $list as $item => $code ) {
|
||||
if ( $search == strtoupper(Scores_Locale_String::cleanutf8($item)) ) {
|
||||
@ -2168,7 +2166,6 @@ class Metier_Partenaires_MGreffes
|
||||
|
||||
$label = $xpath->query("span[@class='label']", $n);
|
||||
|
||||
require_once 'Scores/Locale/String.php';
|
||||
switch ( strtoupper(Scores_Locale_String::cleanutf8( trim($label) )) ) {
|
||||
case 'CATEGORIE JURIDIQUE :':
|
||||
//Catégorie juridique
|
||||
|
@ -550,7 +550,6 @@ function format($matches)
|
||||
function PROJEC($valeur, $nbAnnees)
|
||||
{
|
||||
global $tabRegX, $Y, $Yaff, $PROJECCOEF, $PROJECTAUX;
|
||||
require_once 'Metier/scores/classMProjection.php';
|
||||
$projec = new Metier_Scores_Projection();
|
||||
$projec->tabRegX = $tabRegX;
|
||||
$result = $projec->calc($valeur, $nbAnnees);
|
||||
@ -2453,7 +2452,6 @@ function calculIndiScore($siren, $nic=0, $accesDist=false, $cycleClient=2, $mail
|
||||
$DEFAUT_MMAA=$LCASSUR_MMAA=$RISQUEIMPAYE_MMAA=$CSFACTO_MMAA='';
|
||||
$COTEOK=$IMPAYE=$PRIVILEGES=$RISQUEGROUPE=$DEFAUT=$LCASSUR=$RISQUEIMPAYE=$CSFACTO=false;
|
||||
$MODIFPAIDATE=0;
|
||||
require_once 'Metier/partenaires/classMFacto.php';
|
||||
$iFacto = new MFacto($iDb);
|
||||
$infoFacto = $iFacto->getCoteSpeciale($siren);
|
||||
$timer['factoCS']=microtime(true);
|
||||
@ -3147,7 +3145,6 @@ function calculIndiScore($siren, $nic=0, $accesDist=false, $cycleClient=2, $mail
|
||||
$timer['risquesBassins']=microtime(true);
|
||||
|
||||
/** INFOS Orias **/
|
||||
require_once 'Metier/partenaires/classMOrias.php';
|
||||
$iOrias = new MOrias(false, $iDb);
|
||||
$tabTmp = $iOrias->getInfosOrias($SIREN);
|
||||
$ORIASID=$ORIASCAT=$ORIASID_DATE='';
|
||||
@ -3344,7 +3341,6 @@ function calculIndiScore($siren, $nic=0, $accesDist=false, $cycleClient=2, $mail
|
||||
$CADTER_SURF_CUM=0; // Cumul Surfaces des terrains à l'addresse
|
||||
*/
|
||||
// Locaux
|
||||
require_once 'Metier/partenaires/classMCadastre.php';
|
||||
$iCadastre = new MCadastre($iDb);
|
||||
$tabTmp=$iCadastre->getLocaux($siren);
|
||||
if(count($tabTmp)>0 ) {
|
||||
|
@ -26,7 +26,6 @@ class Entreprise extends Scores_Ws_Server
|
||||
$this->sendError('1010');
|
||||
}
|
||||
|
||||
require_once 'Metier/insee/classMInsee.php';
|
||||
$classInsee = new Metier_Insee_MInsee();
|
||||
|
||||
//Vérifier SIREN valide
|
||||
|
@ -1,16 +1,5 @@
|
||||
<?php
|
||||
require_once 'framework/fwk.php';
|
||||
require_once 'Metier/insee/classMInsee.php';
|
||||
require_once 'Metier/insee/classMSirene.php';
|
||||
require_once 'Metier/partenaires/classMBilans.php';
|
||||
require_once 'Metier/partenaires/classMBourse.php';
|
||||
require_once 'Metier/partenaires/classMTva.php';
|
||||
require_once 'Metier/partenaires/classMMap.php';
|
||||
require_once 'Metier/partenaires/classMGreffes.php';
|
||||
require_once 'Metier/partenaires/classMPrivileges.php';
|
||||
require_once 'Metier/scores/classMFinancier.php';
|
||||
require_once 'Metier/scores/classMSolvabilite.php';
|
||||
|
||||
require_once __DIR__ . '/Types.php';
|
||||
|
||||
class Entreprise extends Scores_Ws_Server
|
||||
@ -3543,7 +3532,6 @@ class Entreprise extends Scores_Ws_Server
|
||||
|
||||
global $tva, $tabFormules, $mBil, $tabBilan, $efftr, $tabInfla;
|
||||
$tabFormules = include APPLICATION_PATH . '/../library/Metier/scores/Data/TabFormules.php';
|
||||
require_once 'Metier/scores/classMRatios.php';
|
||||
|
||||
//Initialisation
|
||||
if (empty($page)) $page = 'ratios';
|
||||
|
@ -1,17 +1,5 @@
|
||||
<?php
|
||||
require_once 'framework/fwk.php';
|
||||
require_once 'Metier/insee/classMInsee.php';
|
||||
require_once 'Metier/insee/classMSirene.php';
|
||||
require_once 'Metier/partenaires/classMBilans.php';
|
||||
require_once 'Metier/partenaires/classMBourse.php';
|
||||
require_once 'Metier/partenaires/classMTva.php';
|
||||
require_once 'Metier/partenaires/classMMap.php';
|
||||
require_once 'Metier/partenaires/classMGreffes.php';
|
||||
require_once 'Metier/partenaires/classMPrivileges.php';
|
||||
require_once 'Metier/scores/classMFinancier.php';
|
||||
require_once 'Metier/scores/classMSolvabilite.php';
|
||||
|
||||
|
||||
require_once __DIR__ . '/Types.php';
|
||||
|
||||
class Entreprise extends Scores_Ws_Server
|
||||
@ -764,7 +752,6 @@ class Entreprise extends Scores_Ws_Server
|
||||
}
|
||||
$identiteProcol->Organes = $tabDepots;
|
||||
|
||||
require_once 'Metier/partenaires/classMLiens.php';
|
||||
$mLiens = new Metier_Partenaires_MLiens($siren);
|
||||
$tabA = $mLiens->getActionnaires($siren, 1);
|
||||
$nbA = count($tabA);
|
||||
|
@ -1,16 +1,5 @@
|
||||
<?php
|
||||
require_once 'framework/fwk.php';
|
||||
require_once 'Metier/insee/classMInsee.php';
|
||||
require_once 'Metier/insee/classMSirene.php';
|
||||
require_once 'Metier/partenaires/classMBilans.php';
|
||||
require_once 'Metier/partenaires/classMBourse.php';
|
||||
require_once 'Metier/partenaires/classMTva.php';
|
||||
require_once 'Metier/partenaires/classMMap.php';
|
||||
require_once 'Metier/partenaires/classMGreffes.php';
|
||||
require_once 'Metier/partenaires/classMPrivileges.php';
|
||||
require_once 'Metier/scores/classMFinancier.php';
|
||||
require_once 'Metier/scores/classMSolvabilite.php';
|
||||
|
||||
require_once __DIR__ . '/Types.php';
|
||||
|
||||
class Entreprise extends Scores_Ws_Server
|
||||
|
@ -1,16 +1,5 @@
|
||||
<?php
|
||||
require_once 'framework/fwk.php';
|
||||
require_once 'Metier/insee/classMInsee.php';
|
||||
require_once 'Metier/insee/classMSirene.php';
|
||||
require_once 'Metier/partenaires/classMBilans.php';
|
||||
require_once 'Metier/partenaires/classMBourse.php';
|
||||
require_once 'Metier/partenaires/classMTva.php';
|
||||
require_once 'Metier/partenaires/classMMap.php';
|
||||
require_once 'Metier/partenaires/classMGreffes.php';
|
||||
require_once 'Metier/partenaires/classMPrivileges.php';
|
||||
require_once 'Metier/scores/classMFinancier.php';
|
||||
require_once 'Metier/scores/classMSolvabilite.php';
|
||||
|
||||
require_once __DIR__ . '/Types.php';
|
||||
|
||||
class Gestion extends Scores_Ws_Server
|
||||
|
@ -1,16 +1,5 @@
|
||||
<?php
|
||||
require_once 'framework/fwk.php';
|
||||
require_once 'Metier/insee/classMInsee.php';
|
||||
require_once 'Metier/insee/classMSirene.php';
|
||||
require_once 'Metier/partenaires/classMBilans.php';
|
||||
require_once 'Metier/partenaires/classMBourse.php';
|
||||
require_once 'Metier/partenaires/classMTva.php';
|
||||
require_once 'Metier/partenaires/classMMap.php';
|
||||
require_once 'Metier/partenaires/classMGreffes.php';
|
||||
require_once 'Metier/partenaires/classMPrivileges.php';
|
||||
require_once 'Metier/scores/classMFinancier.php';
|
||||
require_once 'Metier/scores/classMSolvabilite.php';
|
||||
|
||||
require_once __DIR__ . '/Types.php';
|
||||
|
||||
class Gestion extends Scores_Ws_Server
|
||||
|
@ -2351,9 +2351,9 @@ class Interne extends Scores_Ws_Server
|
||||
*/
|
||||
|
||||
if (SPHINX_HISTO_VERSION == 1){
|
||||
require_once 'SphinxSearchsphinxapi-0.9.9.php';
|
||||
require_once 'SphinxSearch/sphinxapi-0.9.9.php';
|
||||
} elseif (SPHINX_HISTO_VERSION == 2){
|
||||
require_once 'SphinxSearchsphinxapi-2.2.9.php';
|
||||
require_once 'SphinxSearch/sphinxapi-2.2.9.php';
|
||||
}
|
||||
|
||||
$cl = new SphinxClient();
|
||||
|
@ -2315,9 +2315,9 @@ class Interne extends Scores_Ws_Server
|
||||
*/
|
||||
|
||||
if (SPHINX_HISTO_VERSION == 1){
|
||||
require_once 'SphinxSearchsphinxapi-0.9.9.php';
|
||||
require_once 'SphinxSearch/sphinxapi-0.9.9.php';
|
||||
} elseif (SPHINX_HISTO_VERSION == 2){
|
||||
require_once 'SphinxSearchsphinxapi-2.2.9.php';
|
||||
require_once 'SphinxSearch/sphinxapi-2.2.9.php';
|
||||
}
|
||||
|
||||
$cl = new SphinxClient();
|
||||
|
@ -1243,9 +1243,9 @@ class Interne extends Scores_Ws_Server
|
||||
*/
|
||||
|
||||
if (SPHINX_HISTO_VERSION == 1){
|
||||
require_once 'SphinxSearchsphinxapi-0.9.9.php';
|
||||
require_once 'SphinxSearch/sphinxapi-0.9.9.php';
|
||||
} elseif (SPHINX_HISTO_VERSION == 2){
|
||||
require_once 'SphinxSearchsphinxapi-2.2.9.php';
|
||||
require_once 'SphinxSearch/sphinxapi-2.2.9.php';
|
||||
}
|
||||
|
||||
$cl = new SphinxClient();
|
||||
|
@ -1169,9 +1169,9 @@ class Interne extends Scores_Ws_Server
|
||||
*/
|
||||
|
||||
if (SPHINX_HISTO_VERSION == 1){
|
||||
require_once 'SphinxSearchsphinxapi-0.9.9.php';
|
||||
require_once 'SphinxSearch/sphinxapi-0.9.9.php';
|
||||
} elseif (SPHINX_HISTO_VERSION == 2){
|
||||
require_once 'SphinxSearchsphinxapi-2.2.9.php';
|
||||
require_once 'SphinxSearch/sphinxapi-2.2.9.php';
|
||||
}
|
||||
|
||||
$cl = new SphinxClient();
|
||||
|
Loading…
Reference in New Issue
Block a user