From faaefe08f073668b81efffde9697b7589830ef41 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Fri, 21 Sep 2007 20:41:01 +0000 Subject: [PATCH] Fix bug setup --- html/admin/setup.php | 1 + html/admin/sql/patch/upgrade31.sql | 1 - include/constant.php | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/admin/setup.php b/html/admin/setup.php index 3ad386766..15cc47b89 100644 --- a/html/admin/setup.php +++ b/html/admin/setup.php @@ -457,6 +457,7 @@ $MaxDossier=pg_NumRows($Resdossier); //---------------------------------------------------------------------- for ($e=0;$e < $MaxDossier;$e++) { $db_row=pg_fetch_array($Resdossier,$e); + echo "Patching ".$db_row['dos_name'].'
'; $db=DbConnect($db_row['dos_id'],'dossier'); apply_patch($db,$db_row['dos_name']); } diff --git a/html/admin/sql/patch/upgrade31.sql b/html/admin/sql/patch/upgrade31.sql index d61753157..1faaa37f4 100644 --- a/html/admin/sql/patch/upgrade31.sql +++ b/html/admin/sql/patch/upgrade31.sql @@ -147,7 +147,6 @@ begin end; $$ LANGUAGE plpgsql; -insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values(8,'Comptes hors Compta',0); insert into tmp_pcmn(pcm_val,pcm_lib,pcm_val_parent) values(9,'Comptes hors Compta',0); COMMENT ON TABLE parameter IS 'parameter of the company'; diff --git a/include/constant.php b/include/constant.php index f2ece6170..4f739538f 100644 --- a/include/constant.php +++ b/include/constant.php @@ -29,7 +29,7 @@ $_ENV['TMP']="/tmp"; define ("phpcompta_password","dany"); define ("phpcompta_psql_port","5432"); define ("phpcompta_user","phpcompta"); -define ("domaine",""); +define ("domaine","rel2332_"); define ("MAX_COMPTE",4);