<?php
}else{
- //print("cud ".($db->canUseDb(false)?"t":"f")." ht ".($db->hasTable("config")?"yo":"na")." v ".$db->getConfig(WobSchema::configVersionRow())."<p>\n");
+ print("Current Status:<p><ul><li>Connected to DB: ".($db->isConnected()?"yes":"no")." <li>can use/upgrade current DB Schema: ".($db->canUseDb(false)?"yes":"no"));
+ print(" <li>Config Table exists: ".($db->hasTable("config")?"yes":"no")." <li>DB Schema version=".$db->getConfig(WobSchema::configVersionRow()));
+ print(" <li>DB name: ".$db->dbName()." <li>config table Name: ".$db->tableName("config")."</ul><p>\n");
$cversion=$db->getConfig(WobSchema::configVersionRow());
$xversion=$db->needVersion();
if($db->canUseDb(false) && substr($cversion,0,3)=="01."){