diff --git a/setup/check_install.php b/setup/check_install.php
index e92292b106..35ba6e6706 100644
--- a/setup/check_install.php
+++ b/setup/check_install.php
@@ -62,15 +62,6 @@
lang('*** You have to do the changes manualy in your php.ini (usualy in /etc on linux) in order to get eGW fully working !!!')."\n".
lang('*** Do NOT update your database via setup, as the update might be interrupted by the max_execution_time, which leaves your DB in an unrecoverable state (your data is lost) !!!')
),
-/* not longer needed, as it gets set now on runtime (works even with safe_mode)
- 'error_reporting' => array(
- 'func' => 'php_ini_check',
- 'value' => E_NOTICE,
- 'verbose_value' => 'E_NOTICE',
- 'check' => 'not set',
- 'safe_mode' => 'error_reporting = E_ALL & ~E_NOTICE'
- ),
-*/
'magic_quotes_runtime' => array(
'func' => 'php_ini_check',
'value' => 0,
@@ -117,6 +108,10 @@
'warning' => lang('The %1 extension is needed, if you plan to use a %2 database.','mssql','MsSQL'),
'win_only' => True
),
+ 'odbc' => array(
+ 'func' => 'extension_check',
+ 'warning' => lang('The %1 extension is needed, if you plan to use a %2 database.','odbc','MaxDB')
+ ),
'mbstring' => array(
'func' => 'extension_check',
'warning' => lang('The mbstring extension is needed to fully support unicode (utf-8) or other multibyte-charsets.')
diff --git a/setup/index.php b/setup/index.php
index 4587777a47..fe88c1e196 100644
--- a/setup/index.php
+++ b/setup/index.php
@@ -41,6 +41,7 @@
$setup_tpl->set_block('T_login_stage_header','B_single_domain','V_single_domain');
$setup_tpl->set_block('T_setup_db_blocks','B_db_stage_1','V_db_stage_1');
+ $setup_tpl->set_block('T_setup_db_blocks','B_db_stage_1a','V_db_stage_1a');
$setup_tpl->set_block('T_setup_db_blocks','B_db_stage_2','V_db_stage_2');
$setup_tpl->set_block('T_setup_db_blocks','B_db_stage_3','V_db_stage_3');
$setup_tpl->set_block('T_setup_db_blocks','B_db_stage_4','V_db_stage_4');
@@ -182,6 +183,7 @@
. "
mysql> create database $info[db_name];"
. "
mysql> grant all on " . $info['db_name']
. ".* to " . $info['db_user'] . "@localhost identified by '" . $info['db_pass'] . "';");
+ $setup_tpl->parse('V_db_stage_1','B_db_stage_1');
break;
case 'pgsql':
$setup_tpl->set_var('instr',
@@ -190,11 +192,11 @@
. "
[user@server user]# postmaster -i -D /home/[username]/[dataDir]
"
. lang('Create the empty database -')
. "
[user@server user]# createdb " . $info['db_name'] . "");
+ $setup_tpl->parse('V_db_stage_1','B_db_stage_1');
break;
default:
- $setup_tpl->set_var('instr','');
+ $setup_tpl->parse('V_db_stage_1','B_db_stage_1a');
}
- $setup_tpl->parse('V_db_stage_1','B_db_stage_1');
$db_filled_block = $setup_tpl->get_var('V_db_stage_1');
$setup_tpl->set_var('V_db_filled_block',$db_filled_block);
break;
diff --git a/setup/templates/default/setup_db_blocks.tpl b/setup/templates/default/setup_db_blocks.tpl
index a0087bde7e..f69bd4605d 100644
--- a/setup/templates/default/setup_db_blocks.tpl
+++ b/setup/templates/default/setup_db_blocks.tpl
@@ -8,12 +8,12 @@