summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/test.php b/tests/test.php
index e2c50fdc..e2910bf1 100644
--- a/tests/test.php
+++ b/tests/test.php
@@ -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 = ' &nbsp; 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();