From 748ae1d11c0f4b1e836ad61cdabee29efc0b4343 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Sun, 23 Jun 2013 20:44:22 +0000 Subject: [PATCH] majBilansPostes.php --- scripts/majBilansPostes.php | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/scripts/majBilansPostes.php b/scripts/majBilansPostes.php index f89dcdfa..4fcf6b5f 100644 --- a/scripts/majBilansPostes.php +++ b/scripts/majBilansPostes.php @@ -6,12 +6,12 @@ // Define path to application directory defined('APPLICATION_PATH') -|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application')); + || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application')); // Ensure library/ is on include_path set_include_path(implode(PATH_SEPARATOR, array( -realpath(APPLICATION_PATH . '/../library'), -get_include_path(), + realpath(APPLICATION_PATH . '/../library'), + get_include_path(), ))); /** Zend_Application */ @@ -55,6 +55,13 @@ function exporte($txt, $lon=-1, $sep="|") { else return trim(sprintf("%-".$lon.'.'.$lon."s", $txt)).$sep; } +/** + * + * @param unknown $bodEtab + * @param unknown $bodSiege + * @param unknown $insee + * @return unknown|string + */ function choixAdr($bodEtab, $bodSiege, $insee) { if (strlen(trim($bodSiege))>0) $adr=trim($bodSiege); @@ -112,6 +119,8 @@ if ($_SERVER['argc']>1) } } + +//=> Start $strSirenReprise=''; if ($sirenReprise) $strSirenReprise="AND siren>=$sirenReprise"; @@ -191,5 +200,4 @@ while($tabTmp=$iDb->fetch(MYSQL_ASSOC)) { } die(); - - ?> +?> \ No newline at end of file