diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2009-02-28 19:22:27 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-02-28 19:22:27 +0000 |
| commit | 62973fa50416cebd78b46aba7e29f9746e949032 (patch) | |
| tree | 621fde9ce34e356606113248da6032b700a37a75 /phpBB/includes/acp/acp_main.php | |
| parent | bfa4e6038e1e15bab8c19a6a0caa9607933b972b (diff) | |
| download | forums-62973fa50416cebd78b46aba7e29f9746e949032.tar forums-62973fa50416cebd78b46aba7e29f9746e949032.tar.gz forums-62973fa50416cebd78b46aba7e29f9746e949032.tar.bz2 forums-62973fa50416cebd78b46aba7e29f9746e949032.tar.xz forums-62973fa50416cebd78b46aba7e29f9746e949032.zip | |
- adjust db_tools again to not remove any schema (they may be required)
- fill dbms version if not yet filled
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9351 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_main.php')
| -rw-r--r-- | phpBB/includes/acp/acp_main.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_main.php b/phpBB/includes/acp/acp_main.php index a558fe6712..8a92c06e04 100644 --- a/phpBB/includes/acp/acp_main.php +++ b/phpBB/includes/acp/acp_main.php @@ -510,6 +510,12 @@ class acp_main $template->assign_var('S_WRITABLE_CONFIG', (bool) (@fileperms($phpbb_root_path . 'config.' . $phpEx) & 0x0002)); } + // Fill dbms version if not yet filled + if (empty($config['dbms_version'])) + { + set_config('dbms_version', $db->sql_server_info(true)); + } + $this->tpl_name = 'acp_main'; $this->page_title = 'ACP_MAIN'; } |
