diff --git a/html/admin_repo.php b/html/admin_repo.php index 48daa5658..d7158c4ce 100644 --- a/html/admin_repo.php +++ b/html/admin_repo.php @@ -115,6 +115,7 @@ if ( isset ($_GET["action"]) ) { $Sql=sprintf("CREATE DATABASE DOSSIER%d encoding='ISO8859-1' TEMPLATE MOD%d",$l_id,$_POST["FMOD_ID"]); echo_debug($Sql); ExecSql($cn,$Sql); + $Res=ExecSql($cn,"insert into jnt_use_dos (use_id,dos_id) values (1,$l_id)"); } // if $l_id != 0 } // $_POST[DATABASE] ?> @@ -212,7 +213,6 @@ if ( $count == 0 ) { $Res=ExecSql($cn,"create sequence s_jrn"); $Res=ExecSql($cn,"create sequence s_jrn_op"); $Res=ExecSql($cn,"create sequence s_centralized"); - } // Show all available templates diff --git a/html/user_compta.php b/html/user_compta.php index 87e17e4e0..c993011d1 100644 --- a/html/user_compta.php +++ b/html/user_compta.php @@ -2,12 +2,12 @@ /* * This file is part of WCOMPTA. * - * WCOMPTA is free software; you can redistribute it and/or modify + * PhpCompta is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * WCOMPTA is distributed in the hope that it will be useful, + * PhpCompta is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. diff --git a/install.sh b/install.sh index 6abbcbf3c..ecf3f1443 100755 --- a/install.sh +++ b/install.sh @@ -17,8 +17,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -export PATH=/opt/psql732/bin:$PATH -export PGDATA=/opt/database version=3 VerifOutil() { RESULT="Verif. $1" diff --git a/setenv.sh b/setenv.sh index 2fd7a3181..3457fea0e 100755 --- a/setenv.sh +++ b/setenv.sh @@ -1,5 +1,4 @@ +export PGDATA=/opt/database export PATH=/opt/psql732/bin:$PATH -export REMOTECVS=:pserver:danpo@july:/home/danpo/CVSCOMPTA -export LOCALCVS=/home/danpo/CVSCOMPTA export MANPATH=/opt/psql732/man export PATH=$PATH:/home/danpo/doxygen/bin