diff options
Diffstat (limited to 'tests/test.php')
| -rw-r--r-- | tests/test.php | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/test.php b/tests/test.php index 50e74ad4..e2910bf1 100644 --- a/tests/test.php +++ b/tests/test.php @@ -1,6 +1,6 @@ <?php /* -@version v5.20.9 21-Dec-2016 +@version v5.21.0-dev ??-???-2016 @copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. @copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community Released under both BSD license and Lesser GPL library license. @@ -40,13 +40,9 @@ function Err($msg) function CheckWS($conn) { -global $ADODB_EXTENSION; - include_once('../session/adodb-session.php'); if (defined('CHECKWSFAIL')){ echo " TESTING $conn ";flush();} - $saved = $ADODB_EXTENSION; $db = ADONewConnection($conn); - $ADODB_EXTENSION = $saved; if (headers_sent()) { print "<p><b>White space detected in adodb-$conn.inc.php or include file...</b></p>"; //die(); @@ -125,12 +121,10 @@ FROM `nuke_stories` `t1`, `nuke_authors` `t2`, `nuke_stories_cat` `t3`, `nuke_to //print $db->UnixTimeStamp('2003-7-22 23:00:00'); $phpv = phpversion(); - if (defined('ADODB_EXTENSION')) $ext = ' Extension '.ADODB_EXTENSION.' installed'; - else $ext = ''; print "<h3>ADODB Version: $ADODB_vers"; print "<p>Host: <i>$db->host</i>"; print "<br>Database: <i>$db->database</i>"; - print "<br>PHP: <i>$phpv $ext</i></h3>"; + print "<br>PHP: <i>$phpv</i></h3>"; flush(); |
