Modification liens
Intégration include_path (prepend.php)
This commit is contained in:
parent
bbc355f57b
commit
8847079109
@ -1,16 +1,15 @@
|
||||
#!/usr/bin/php -q
|
||||
<?php
|
||||
|
||||
define ('ACTES_IGNUM_LOCAL_DIR','/var/www/site_extranet/www/pdf/scan/');
|
||||
define ('ACTES_IG_LOCAL_DIR','/var/www/site_extranet/www/pdf/');
|
||||
define ('ACTES_IGNUM_LOCAL_DIR','/var/www/extranet/www/pdf/scan/');
|
||||
define ('ACTES_IG_LOCAL_DIR','/var/www/extranet/www/pdf/');
|
||||
define ('ACTES_IGNUM_FTP_URL', 'ftp2.scores-decisions.com');
|
||||
define ('ACTES_IGNUM_FTP_USER', 'mpc2500');
|
||||
define ('ACTES_IGNUM_FTP_PASS', 'passmpc78');
|
||||
|
||||
require_once realpath(dirname(__FILE__) . '/../framework/fwk.php');
|
||||
//define ('INCLUDE_PATH', '/var/www/site_extranet/includes/');
|
||||
define ('INCLUDE_PATH', realpath(dirname(__FILE__) . '/../includes/'));
|
||||
require_once realpath(dirname(__FILE__) . '/mysql.php');
|
||||
define ('INCLUDE_PATH', realpath(dirname(__FILE__).'/../includes/'));
|
||||
//require_once realpath(dirname(__FILE__) . '../framework/default/_includes/mysql.php');
|
||||
|
||||
//include '/var/www/default/_includes/curl.php';
|
||||
include_once(FWK_PATH.'/common/ftp.php');
|
||||
|
@ -1,4 +1,9 @@
|
||||
<?php
|
||||
//Remplacement du php_value include_path dans le .htaccess
|
||||
ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR .
|
||||
realpath(dirname(__FILE__) . '/../framework/') . PATH_SEPARATOR .
|
||||
realpath(dirname(__FILE__) . '/../includes/')
|
||||
);
|
||||
|
||||
/**
|
||||
* Fonction globale récupérant le microtime de la machine en format float.
|
||||
@ -51,9 +56,8 @@ if( !defined('ROOT_PATH') )
|
||||
include_once realpath(ROOT_PATH.'/config/config.inc');
|
||||
}
|
||||
|
||||
/*
|
||||
if ( LOG_BENCH != 'NONE' ){
|
||||
include_once realpath(PEAR_PATH . '/Benchmark/Timer.php');
|
||||
include_once ('Benchmark/Timer.php');
|
||||
}else{
|
||||
class Benchmark_Timer
|
||||
{
|
||||
@ -64,7 +68,6 @@ if ( LOG_BENCH != 'NONE' ){
|
||||
function display() {}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
/* @todo: A enlever pour la prod
|
||||
$timer = new Benchmark_Timer();
|
||||
|
@ -7,7 +7,7 @@ if ( !function_exists('htmlspecialchars_decode') )
|
||||
}
|
||||
}
|
||||
|
||||
include_once(FWK_PATH.'common/curl.php');
|
||||
include_once(FWK_PATH.'/common/curl.php');
|
||||
|
||||
if ( !function_exists('supprDecimales') )
|
||||
{
|
||||
|
@ -1,24 +1,2 @@
|
||||
php_value include_path ".:C:\wamp\www\extranet\framework:C:\wamp\www\extranet\includes:C:\wamp\bin\php\php5.2.8\pear"
|
||||
php_value auto_prepend_file "C:\wamp\www\extranet\config\prepend.php"
|
||||
php_value auto_append_file "C:\wamp\www\extranet\config\append.php"
|
||||
#ErrorDocument 400 /error.php?errtyp=400
|
||||
#ErrorDocument 401 /error.php?errtyp=401
|
||||
#ErrorDocument 402 /error.php?errtyp=402
|
||||
#ErrorDocument 403 /error.php?errtyp=403
|
||||
#ErrorDocument 404 /error.php?errtyp=404
|
||||
#ErrorDocument 500 /error.php?errtyp=500
|
||||
#ErrorDocument 501 /error.php?errtyp=501
|
||||
#ErrorDocument 502 /error.php?errtyp=502
|
||||
#Options +FollowSymlinks
|
||||
#RewriteEngine on
|
||||
#RewriteRule ^(.*).htm$ http://www2.scores-decisions.com/index.php?page=$1 [nc]
|
||||
#RewriteRule !(index\.php|test\.php|^documents/pdf/courriers(.*)|\.html|\.htm|\.gif|\.css|\.jpg|\.png|\.jar|\.js|\.ico|\.pdf)$ /index.php [L]
|
||||
#RewriteRule ^img/(.*) /img/$1 [L]
|
||||
#RewriteRule ^js/(.*) /scripts/$1 [L]
|
||||
#RewriteRule ^css/(.*) /design/stylesheets/$1 [L]
|
||||
#RewriteRule ^etatspdf/(.*) /documents/pdf/etats/$1 [L]
|
||||
#RewriteRule ^(.*)\.htm$ /html/$1.html [L]
|
||||
|
||||
#Order Deny,Allow
|
||||
#Deny from all
|
||||
#Allow from 82.234.126.118
|
||||
php_value auto_append_file "C:\wamp\www\extranet\config\append.php"
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
include_once(realpath(FWK_PATH.'common/curl.php'));
|
||||
include_once(realpath(FWK_PATH.'/common/curl.php'));
|
||||
if (!$_SESSION['connected'])
|
||||
echo ('Vous devez être connecté afin de pouvoir utiliser cette fonctionnalité');
|
||||
else
|
||||
|
@ -52,10 +52,10 @@ if ($action=='surv') {
|
||||
}
|
||||
}
|
||||
|
||||
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');
|
||||
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');
|
||||
|
||||
try {
|
||||
if ($vue=='bodacc' || $_REQUEST['source']=1) $filtre=1;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
set_time_limit(3600); // Timeout à 16 minutes
|
||||
|
||||
include_once(FWK_PATH.'common/ftp.php');
|
||||
include_once(FWK_PATH.'/common/ftp.php');
|
||||
sleep(10);
|
||||
|
||||
$siret=$_REQUEST['siret'];
|
||||
|
@ -5,7 +5,7 @@ else
|
||||
{
|
||||
$eol="\n";
|
||||
|
||||
include_once(FWK_PATH.'common/curl.php');
|
||||
include_once(FWK_PATH.'/common/curl.php');
|
||||
|
||||
$siret=$_REQUEST['siret'];
|
||||
/*
|
||||
|
@ -151,10 +151,10 @@ if (($siret*1)==0 && $id==0) die('Param
|
||||
$siren=substr($siret,0,9);
|
||||
$mil=false;
|
||||
|
||||
include_once(INCLUDE_PATH.'partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMMap.php');
|
||||
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');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
|
||||
/** Utilisation du WS **/
|
||||
$client = new SoapClient(null, array( 'trace' => 1,
|
||||
|
@ -12,10 +12,10 @@ $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');
|
||||
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');
|
||||
|
||||
/** Utilisation du WS **/
|
||||
$client = new SoapClient(null, array( 'trace' => 1,
|
||||
|
@ -26,7 +26,7 @@
|
||||
</html>*/
|
||||
|
||||
|
||||
require(INCLUDE_PATH.'partenaires/GoogleMapAPI.class.php');
|
||||
require(INCLUDE_PATH.'/partenaires/GoogleMapAPI.class.php');
|
||||
|
||||
$map = new GoogleMapAPI('map');
|
||||
// setup database for geocode caching
|
||||
@ -52,10 +52,10 @@ if (($siret*1)==0 && $id==0) die('Param
|
||||
$siren=substr($siret,0,9);
|
||||
$mil=false;
|
||||
|
||||
include_once(INCLUDE_PATH.'partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMMap.php');
|
||||
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');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
|
||||
/** Utilisation du WS **/
|
||||
$client = new SoapClient(null, array( 'trace' => 1,
|
||||
|
@ -40,10 +40,10 @@ $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');
|
||||
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');
|
||||
|
||||
/** Utilisation du WS **/
|
||||
$client = new SoapClient(null, array( 'trace' => 1,
|
||||
|
@ -16,10 +16,10 @@ $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');
|
||||
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');
|
||||
|
||||
/** Utilisation du WS **/
|
||||
$client = new SoapClient(null, array( 'trace' => 1,
|
||||
|
@ -12,10 +12,10 @@ if ($_REQUEST['vue']=='histo')
|
||||
else
|
||||
$histo=false;
|
||||
|
||||
include_once(INCLUDE_PATH.'partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMMap.php');
|
||||
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');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
|
||||
/** Utilisation du WS **/
|
||||
$client = new SoapClient(null, array( 'trace' => 1,
|
||||
|
@ -8,10 +8,10 @@ if (($siret*1)==0 && $id==0) die('Param
|
||||
$siren=substr($siret,0,9);
|
||||
$mil=false;
|
||||
|
||||
include_once(INCLUDE_PATH.'partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMMap.php');
|
||||
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');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
|
||||
/** Utilisation du WS **/
|
||||
$client = new SoapClient(null, array( 'trace' => 1,
|
||||
|
@ -8,10 +8,10 @@ if (($siret*1)==0 && $id==0) die('Param
|
||||
$siren=substr($siret,0,9);
|
||||
$mil=false;
|
||||
|
||||
include_once(INCLUDE_PATH.'partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMMap.php');
|
||||
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');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
|
||||
/** Utilisation du WS **/
|
||||
$client = new SoapClient(null, array( 'trace' => 1,
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
include_once(FWK_PATH.'common/curl.php');
|
||||
include_once(FWK_PATH.'/common/curl.php');
|
||||
if (!$_SESSION['connected'])
|
||||
echo ('Vous devez être connecté afin de pouvoir utiliser cette fonctionnalité');
|
||||
else
|
||||
|
@ -30,8 +30,8 @@ if ($vecteurCommande<>'') {
|
||||
|
||||
$message='';
|
||||
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(FWK_PATH.'common/curl.php');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
include_once(FWK_PATH.'/common/curl.php');
|
||||
|
||||
$tabErrInfoGref=array( 0=>"ERREUR LORS DE L'ACCES A LA BASE DES PIECES OFFICIELLES. MERCI DE REESSAYER !",
|
||||
1=>"REQUETE INTERDITE",
|
||||
|
@ -31,7 +31,7 @@ $siren=substr($siret,0,9);
|
||||
//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');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
|
||||
/** Utilisation du WS **/
|
||||
$client = new SoapClient(null, array( 'trace' => 1,
|
||||
@ -553,7 +553,7 @@ Longitude : <?=htmlentities(dec2dms($etab['GeoLon']),null,'ISO-8859-1')?> (<?=$e
|
||||
|
||||
/* Information presse
|
||||
15 Aug 2007 09:21:49 GMT - */
|
||||
require_once 'XML/RSS.php';
|
||||
require_once ('XML/RSS.php');
|
||||
$rss=&new XML_RSS('http://news.google.fr/news?hl=fr&ned=fr&ie=ISO-8859-1&q='.urlencode('"'.$etab['Nom'].'"').'&output=rss');
|
||||
$rss->parse();
|
||||
$tabMonth=array('Jan'=>1,'Feb'=>2,'Mar'=>3,'Apr'=>4,'May'=>5,'Jun'=>6,'Jul'=>7,'Aug'=>8,'Sep'=>9,'Oct'=>10,'Nov'=>11,'Dec'=>12);
|
||||
|
@ -18,10 +18,10 @@ elseif (!preg_match('/INDISCORE/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');
|
||||
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');
|
||||
|
||||
/** Utilisation du WS **/
|
||||
$client = new SoapClient(null, array( 'trace' => 1,
|
||||
|
@ -10,10 +10,10 @@ $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');
|
||||
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');
|
||||
|
||||
/** Utilisation du WS **/
|
||||
$client = new SoapClient(null, array( 'trace' => 1,
|
||||
|
@ -37,7 +37,7 @@ $tabErreurInpi=array(
|
||||
990120=>"Erreur facturation",
|
||||
);
|
||||
|
||||
include_once(FWK_PATH.'common/curl.php');
|
||||
include_once(FWK_PATH.'/common/curl.php');
|
||||
if (!$_SESSION['connected'])
|
||||
echo ('Vous devez être connecté afin de pouvoir utiliser cette fonctionnalité');
|
||||
else { // On est bien connecté
|
||||
|
@ -160,8 +160,8 @@ if ($vue==0) { ?>
|
||||
<?php
|
||||
}
|
||||
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(FWK_PATH.'common/curl.php');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
include_once(FWK_PATH.'/common/curl.php');
|
||||
|
||||
if ($vue==1 /*&& $login=='ylenaour'*/) {
|
||||
set_time_limit(410);
|
||||
|
@ -12,10 +12,10 @@ if ($_REQUEST['vue']=='histo')
|
||||
else
|
||||
$histo=false;
|
||||
|
||||
include_once(INCLUDE_PATH.'partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMMap.php');
|
||||
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');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
|
||||
/** Utilisation du WS **/
|
||||
$client = new SoapClient(null, array( 'trace' => 1,
|
||||
|
@ -13,10 +13,10 @@ 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/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMMap.php');
|
||||
//include_once(INCLUDE_PATH.'partenaires/classMCoface.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
|
||||
/** Utilisation du WS **/
|
||||
$client = new SoapClient(null, array( 'trace' => 1,
|
||||
|
@ -285,8 +285,8 @@ $strSelectPays='<option value="XXX" selected>-</option>
|
||||
<option value="ZAR">Zaïre</option>
|
||||
<option value="ZWE">Zimbabwe</option>';
|
||||
|
||||
include_once(INCLUDE_PATH.'partenaires/classMTva.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'/partenaires/classMTva.php');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
|
||||
$siret=trim(preg_replace('/[^0-9]/', '', $_REQUEST['siret']));
|
||||
$id=trim(preg_replace('/[^0-9]/', '', $_REQUEST['id']))*1; // Si id=0 alors non communiqué
|
||||
|
@ -30,10 +30,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');
|
||||
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');
|
||||
|
||||
/** Utilisation du WS **/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
//print_r($_SESSION['tabInfo']);
|
||||
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
|
||||
$siret=trim(preg_replace('/[^0-9]/', '', $_REQUEST['siret']));
|
||||
$id=trim(preg_replace('/[^0-9]/', '', $_REQUEST['id']))*1; // Si id=0 alors non communiqué
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(FWK_PATH.'common/curl.php');
|
||||
include_once(FWK_PATH.'/common/dates.php');
|
||||
include_once(FWK_PATH.'/common/curl.php');
|
||||
|
||||
if (!$_SESSION['connected'])
|
||||
echo ('Vous devez être connecté afin de pouvoir utiliser cette fonctionnalité');
|
||||
|
@ -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';
|
||||
include INCLUDE_PATH.'/constantes.php';
|
||||
|
||||
include_once(realpath(dirname(__FILE__). '/../../batch/mysql.php'));
|
||||
include_once(realpath(dirname(__FILE__). '/../../framework/default/_includes/mysql.php'));
|
||||
$con = mysql_pconnect('localhost', 'root', 'catsysyo92');
|
||||
if (!($con === false)) {
|
||||
if (mysql_select_db('insee', $con) === false)
|
||||
|
Loading…
Reference in New Issue
Block a user