From fba2a3c55837404a2dcb589d59089914912614ee Mon Sep 17 00:00:00 2001 From: sparkyx Date: Mon, 15 Oct 2007 14:40:39 +0000 Subject: [PATCH] Beta 3.0 -3 ready --- html/admin/setup.php | 2 +- html/admin/sql/patch/upgrade32.sql | 10 ++++++++++ html/index.php | 2 +- include/constant.php | 4 ++-- 4 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 html/admin/sql/patch/upgrade32.sql diff --git a/html/admin/setup.php b/html/admin/setup.php index bbfdd10e1..29f74d459 100644 --- a/html/admin/setup.php +++ b/html/admin/setup.php @@ -165,7 +165,7 @@ function ExecuteScript($p_cn,$script) { */ function apply_patch($p_cn,$p_name) { - $MaxVersion=31; + $MaxVersion=32; for ( $i = 4;$i <= $MaxVersion;$i++) { $to=$i+1; diff --git a/html/admin/sql/patch/upgrade32.sql b/html/admin/sql/patch/upgrade32.sql new file mode 100644 index 000000000..55d77a27c --- /dev/null +++ b/html/admin/sql/patch/upgrade32.sql @@ -0,0 +1,10 @@ +begin ; +delete from jrn where jr_internal is null; +delete from jrnx where j_grpt not in (select jr_grpt_id from jrn); +alter table op_predef add od_direct bool; +update op_predef set od_direct=false; +alter table op_predef alter od_direct set not null; +alter table op_predef_detail add od_qc bool; +update version set val=33; + +commit; diff --git a/html/index.php b/html/index.php index db22a0b08..ddb55864b 100644 --- a/html/index.php +++ b/html/index.php @@ -76,7 +76,7 @@ BODY { -Version 3.0-beta +Version 3.0-beta3

Il est conseillé de ne PAS utiliser Internet Explorer.

diff --git a/include/constant.php b/include/constant.php index 83b245248..a1a0745b2 100644 --- a/include/constant.php +++ b/include/constant.php @@ -29,11 +29,11 @@ $_ENV['TMP']="/tmp"; define ("phpcompta_password","dany"); define ("phpcompta_psql_port","5432"); define ("phpcompta_user","phpcompta"); -define ("domaine","rel3"); +define ("domaine",""); define ("MAX_COMPTE",4); -define ("DEBUG","true"); +define ("DEBUG",""); // securite correspond a la table // action