summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-01-11 08:41:37 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-01-11 08:41:37 +0000
commitf4ff7e9122460c3113dce17eae31e1a5179d1247 (patch)
treee6e7b5961a8c93207f8a2b078ec6baf1bfd17fd3 /install.php
parenta19136b11a430e9514dd8dd8ed46f6b1499257e4 (diff)
downloadinstall-f4ff7e9122460c3113dce17eae31e1a5179d1247.tar.gz
install-f4ff7e9122460c3113dce17eae31e1a5179d1247.tar.bz2
install-f4ff7e9122460c3113dce17eae31e1a5179d1247.zip
fix hide errors setting
Diffstat (limited to 'install.php')
-rw-r--r--install.php14
1 files changed, 6 insertions, 8 deletions
diff --git a/install.php b/install.php
index 32587f2..3693cde 100644
--- a/install.php
+++ b/install.php
@@ -1,19 +1,17 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_install/install.php,v 1.12 2007/01/06 18:06:35 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_install/install.php,v 1.13 2007/01/11 08:41:37 squareing Exp $
* @package install
* @subpackage functions
*/
-// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
-// All Rights Reserved. See copyright.txt for details and a complete list of authors.
-// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
-
-// hide error ouptut on database connection settings page
-if( isset( $_REQUEST['step'] ) && $_REQUEST['step'] == '3' ) {
-// ini_set( 'display_errors', '0' );
+// hide errors when trying to connect to the database. very unsettling when you
+// have pages of errors to scroll through
+if( !empty( $_REQUEST['submit_db_info'] ) && !empty( $_REQUEST['step'] ) && $_REQUEST['step'] == 3 ) {
+ ini_set( 'display_errors', '0' );
}
+// here we force the use of adodb during installation
$gForceAdodb = TRUE;
/**