Suppression référence INCLUDE_PATH
This commit is contained in:
parent
c7ca364a52
commit
0e993e5a86
@ -45,11 +45,9 @@ if( !defined('ROOT_PATH') )
|
||||
define ('ROOT_PATH', realpath(dirname(__FILE__) . '/../') );
|
||||
define ('WWW_PATH', realpath(ROOT_PATH.'/www/') );
|
||||
define ('LOG_PATH', realpath(ROOT_PATH.'/log/') );
|
||||
define ('INCLUDE_PATH', realpath(ROOT_PATH.'/includes/') );
|
||||
include_once realpath(INCLUDE_PATH.'/phplib/db_mysql.inc');
|
||||
include_once realpath(INCLUDE_PATH.'/auth/sessions.inc');
|
||||
//include_once realpath(INCLUDE_PATH.'/auth/sessions.local.inc');
|
||||
include_once realpath(ROOT_PATH.'/config/config.inc');
|
||||
require_once 'phplib/db_mysql.inc';
|
||||
require_once 'auth/sessions.inc';
|
||||
require_once realpath(ROOT_PATH.'/config/config.inc');
|
||||
}
|
||||
|
||||
//Debuggage
|
||||
|
@ -1,11 +1,5 @@
|
||||
<?
|
||||
/*
|
||||
include_once(FWK_PATH.'sphinx/recherche.php');
|
||||
include_once(INCLUDE_PATH.'bodacc/classMBodacc.php');
|
||||
include_once(INCLUDE_PATH.'bodacc/classMBalo.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMMap.php');
|
||||
*/
|
||||
|
||||
class MInsee {
|
||||
|
||||
private static $tabFct=array( 'ADM'=>'Administrateur',
|
||||
|
@ -2,9 +2,8 @@
|
||||
|
||||
//Chargement des prix
|
||||
$tabPaysPrix = array();
|
||||
$path = realpath(INCLUDE_PATH.'/graydon/');
|
||||
if (is_file($path .'/price.txt')) {
|
||||
$tabPaysPrix = parse_ini_file($path .'/price.txt', true);
|
||||
if (is_file('graydon/price.txt')) {
|
||||
$tabPaysPrix = parse_ini_file('graydon/price.txt', true);
|
||||
}
|
||||
|
||||
//Chargement de la liste complète des pays
|
||||
|
@ -8,11 +8,9 @@
|
||||
// MODIF
|
||||
global $fichierPdf;
|
||||
|
||||
include_once realpath(dirname(__FILE__) . '/index.fct.php');
|
||||
include_once realpath(dirname(__FILE__) . '/../framework/fwk.php');
|
||||
define ('INCLUDE_PATH', realpath(dirname(__FILE__) . '/../includes/'));
|
||||
|
||||
include_once realpath(dirname(__FILE__) . '/../batch/mysql.php');
|
||||
require_once 'index.fct.php';
|
||||
require_once 'fwk.php';
|
||||
require_once 'default/_includes/mysql.php';
|
||||
|
||||
session_start();
|
||||
$cle_cookie='sdjglsdkhmsoL68';
|
||||
@ -22,7 +20,7 @@ if(ENVIRONNEMENT == 'DEV'){ $timeout=36000; }
|
||||
|
||||
$refresh=5;
|
||||
|
||||
if (ENV<>'PRD') {
|
||||
if (ENV!='PRD') {
|
||||
// Pas de mise en cache WSDL pour SOAP
|
||||
ini_set('soap.wsdl_cache_enabled', 0);
|
||||
}
|
||||
|
@ -28,10 +28,10 @@ if ( $cache->startCapture($fileName.'.html') == FALSE){
|
||||
print $cache->displayCache();
|
||||
}else{
|
||||
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMMap.php');
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMCoface.php');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
require_once 'partenaires/classMTva.php';
|
||||
require_once 'partenaires/classMMap.php';
|
||||
require_once 'partenaires/classMCoface.php';
|
||||
require_once 'common/dates.php';
|
||||
|
||||
try {
|
||||
$O = $client->getInfosBourse($siren);
|
||||
|
@ -42,17 +42,17 @@ $siren=substr($siret,0,9);
|
||||
if (isset($_REQUEST['id']) && $_REQUEST['id']*1<>0) $idCom=$_REQUEST['id'];
|
||||
else $idCom=false;
|
||||
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMMap.php');
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMCoface.php');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
require_once 'partenaires/classMTva.php';
|
||||
require_once 'partenaires/classMMap.php';
|
||||
require_once 'partenaires/classMCoface.php';
|
||||
require_once 'common/dates.php';
|
||||
|
||||
try {
|
||||
$O = $client->getListeCompetences($siret, $type, $_SESSION['tabInfo']['entrep']['codeCommune']);
|
||||
$competences=$O['result'];
|
||||
$firephp->log($competences, 'Competences');
|
||||
} catch (SoapFault $fault) {
|
||||
include_once(realpath(dirname(__FILE__).'/../../').'/includes/soaperror.php');
|
||||
require_once 'soaperror.php';
|
||||
processSoapFault($client,$fault,$tabInfo);
|
||||
die();
|
||||
}
|
||||
|
@ -17,16 +17,16 @@ $siren=substr($siret,0,9);
|
||||
if (isset($_REQUEST['idEntreprise']) && $_REQUEST['idEntreprise']*1<>0) $idCom=$_REQUEST['idEntreprise'];
|
||||
else $idCom=false;
|
||||
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMMap.php');
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMCoface.php');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
require_once 'partenaires/classMTva.php';
|
||||
require_once 'partenaires/classMMap.php';
|
||||
require_once 'partenaires/classMCoface.php';
|
||||
require_once 'common/dates.php';
|
||||
|
||||
try {
|
||||
$O = $client->getListeConventions($siren);
|
||||
$conventions=$O['result'];
|
||||
} catch (SoapFault $fault) {
|
||||
include_once(realpath(dirname(__FILE__).'/../../').'/includes/soaperror.php');
|
||||
require_once 'soaperror.php';
|
||||
processSoapFault($client,$fault,$tabInfo);
|
||||
die();
|
||||
}
|
||||
|
@ -3,11 +3,10 @@ if (!$_SESSION['connected']) die();
|
||||
|
||||
$tabInfo = $_SESSION['tabInfo'];
|
||||
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMMap.php');
|
||||
//include_once(INCLUDE_PATH.'partenaires/classMCoface.php');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
require_once(realpath(dirname(__FILE__).'/../../includes/').'/cache.php');
|
||||
require_once 'partenaires/classMTva.php';
|
||||
require_once 'partenaires/classMMap.php';
|
||||
require_once 'common/dates.php';
|
||||
require_once 'cache.php';
|
||||
|
||||
$siret=trim(preg_replace('/[^0-9]/', '', $_REQUEST['siret']));
|
||||
if (strlen($siret)<>0 && strlen($siret)<>9 && strlen($siret)<>14) die('Paramètres incorrects !');
|
||||
|
@ -3,11 +3,10 @@ if (!$_SESSION['connected']) die();
|
||||
|
||||
$tabInfo = $_SESSION['tabInfo'];
|
||||
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMMap.php');
|
||||
//include_once(INCLUDE_PATH.'partenaires/classMCoface.php');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
require_once(realpath(dirname(__FILE__).'/../../includes/').'/cache.php');
|
||||
require_once 'partenaires/classMTva.php';
|
||||
require_once 'partenaires/classMMap.php';
|
||||
require_once 'common/dates.php';
|
||||
require_once 'cache.php';
|
||||
|
||||
$siret=trim(preg_replace('/[^0-9]/', '', $_REQUEST['siret']));
|
||||
if (strlen($siret)<>0 && strlen($siret)<>9 && strlen($siret)<>14) die('Paramètres incorrects !');
|
||||
|
@ -10,10 +10,10 @@ $siren=substr($siret,0,9);
|
||||
if (isset($_REQUEST['idan']) && $_REQUEST['idan']*1<>0) $idCom=$_REQUEST['idan'];
|
||||
else $idCom=false;
|
||||
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMMap.php');
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMCoface.php');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
require_once 'partenaires/classMTva.php';
|
||||
require_once 'partenaires/classMMap.php';
|
||||
require_once 'partenaires/classMCoface.php';
|
||||
require_once 'common/dates.php';
|
||||
|
||||
$tabInfo = $_SESSION['tabInfo'];
|
||||
|
||||
|
@ -1,11 +1,10 @@
|
||||
<?
|
||||
if (!$_SESSION['connected']) die();
|
||||
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMMap.php');
|
||||
//include_once(INCLUDE_PATH.'partenaires/classMCoface.php');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
require_once(realpath(dirname(__FILE__).'/../../includes/').'/cache.php');
|
||||
require_once 'partenaires/classMTva.php';
|
||||
require_once 'partenaires/classMMap.php';
|
||||
require_once 'common/dates.php';
|
||||
require_once 'cache.php';
|
||||
|
||||
$tabInfo = $_SESSION['tabInfo'];
|
||||
|
||||
|
@ -14,10 +14,9 @@ elseif (!preg_match('/MARQUES/i', $_SESSION['tabInfo']['droits']))
|
||||
echo ('Vous n\'avez pas les droits nécessaires pour utiliser cette fonctionnalité (2)');
|
||||
else {
|
||||
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMMap.php');
|
||||
//include_once(INCLUDE_PATH.'partenaires/classMCoface.php');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
require_once 'partenaires/classMTva.php';
|
||||
require_once 'partenaires/classMMap.php';
|
||||
require_once 'common/dates.php';
|
||||
|
||||
$tabInfo = $_SESSION['tabInfo'];
|
||||
|
||||
|
@ -315,6 +315,7 @@ $(document).ready(function(){
|
||||
$typeId='I';
|
||||
$autreId=$siret;
|
||||
$siret='';
|
||||
$firephp->info('Code ISIN');
|
||||
}
|
||||
}
|
||||
//Numéro RC
|
||||
@ -390,6 +391,7 @@ $(document).ready(function(){
|
||||
processSoapFault($client,$fault,$tabInfo);
|
||||
}
|
||||
} elseif ($typeRech=='ent' && ($typeId=='R' || $typeId=='W' || $typeId=='I') ) {
|
||||
$firephp->log( 'searchAutreId('.$typeId.', '.$autreId.', '.$position.', '.$tabInfo['nbReponses'].', 200, '.$cp.')', 'Requete');
|
||||
echo "<!--_typeRech=ent, Autre Id $typeId=$autreId-->\n";
|
||||
try {
|
||||
$O = $client->searchAutreId($typeId, $autreId, $position, $tabInfo['nbReponses'], 200, $cp);
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMTva.php');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
include_once(realpath(dirname(__FILE__).'/../pages_saisie/constantes.php'));
|
||||
require_once 'partenaires/classMTva.php';
|
||||
require_once 'common/dates.php';
|
||||
require_once (realpath(dirname(__FILE__).'/../pages_saisie/constantes.php'));
|
||||
|
||||
$siret=trim(preg_replace('/[^0-9]/', '', $_REQUEST['siret']));
|
||||
$idEntreprise=trim(preg_replace('/[^0-9]/', '', $_REQUEST['idEntreprise']))*1; // Si id=0 alors non communiqué
|
||||
|
@ -33,10 +33,10 @@ if ($action<>'' && $action<>'commande') die('Param
|
||||
|
||||
$raisonSociale=$tabInfo['entrep']['raisonSociale'];
|
||||
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMMap.php');
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMCoface.php');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
require_once 'partenaires/classMTva.php';
|
||||
require_once 'partenaires/classMMap.php';
|
||||
require_once 'partenaires/classMCoface.php';
|
||||
require_once 'common/dates.php';
|
||||
|
||||
|
||||
/*$client = new SoapClient('https://www.creditsafe.fr/getdata/service/CSFRServices.asmx?WSDL',
|
||||
|
@ -9,9 +9,9 @@ else
|
||||
<a href='./?page=<?=$_REQUEST['referer']?>'>Retour à la page précédente</a> <a name="haut" href='#bas'>Aller en bas</a><br/>
|
||||
<hr width="95%"/>
|
||||
<?*/
|
||||
include INCLUDE_PATH.'/constantes.php';
|
||||
require_once 'constantes.php';
|
||||
|
||||
include_once(realpath(dirname(__FILE__). '/../../framework/default/_includes/mysql.php'));
|
||||
require_once 'default/_includes/mysql.php';
|
||||
$con = mysql_pconnect('localhost', 'root', 'catsysyo92');
|
||||
if (!($con === false)) {
|
||||
if (mysql_select_db('insee', $con) === false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user