mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 01:54:12 +02:00
PDO class now used by default. mysql_class.php currently deprecated until it is modified to use mysqli. Install routine upgraded. Install logging vastly improved.
This commit is contained in:
@@ -985,10 +985,10 @@ class xmlClass
|
||||
{
|
||||
$eTable= str_replace(MPREFIX,"",$tbl);
|
||||
$eQry = (!empty($options['query'])) ? $options['query'] : null;
|
||||
e107::getDB()->select($eTable, "*", $eQry);
|
||||
e107::getDb()->select($eTable, "*", $eQry);
|
||||
$text .= "\t<dbTable name=\"".$eTable."\">\n";
|
||||
$count = 1;
|
||||
while($row = e107::getDB()->fetch())
|
||||
while($row = e107::getDb()->fetch())
|
||||
{
|
||||
|
||||
if($this->convertFilePaths == true && $eTable == 'core_media' && substr($row['media_url'],0,8) != '{e_MEDIA')
|
||||
@@ -1115,9 +1115,10 @@ class xmlClass
|
||||
|
||||
if($sql == null)
|
||||
{
|
||||
$sql = e107::getDB();
|
||||
$sql = e107::getDb();
|
||||
}
|
||||
|
||||
|
||||
$xmlArray = $this->loadXMLfile($file, 'advanced');
|
||||
|
||||
if($debug)
|
||||
|
Reference in New Issue
Block a user