Fix bug setup

This commit is contained in:
sparkyx 2007-09-21 20:41:01 +00:00
parent 5ba7bac2b6
commit faaefe08f0
3 changed files with 2 additions and 2 deletions

View file

@ -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'].'<br>';
$db=DbConnect($db_row['dos_id'],'dossier');
apply_patch($db,$db_row['dos_name']);
}

View file

@ -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';

View file

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