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);